diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-07-14 01:01:47 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-07-14 01:01:47 -0400 |
commit | 13c6627ddb7dbe235426e123ee6ff8e6794bda6d (patch) | |
tree | 078891937a369fae4a7399374c58c3352734f199 /sway/input/input-manager.c | |
parent | Merge pull request #2244 from RyanDwyer/floating-resize (diff) | |
download | sway-13c6627ddb7dbe235426e123ee6ff8e6794bda6d.tar.gz sway-13c6627ddb7dbe235426e123ee6ff8e6794bda6d.tar.zst sway-13c6627ddb7dbe235426e123ee6ff8e6794bda6d.zip |
Implement tap_button_map for input devices
Diffstat (limited to 'sway/input/input-manager.c')
-rw-r--r-- | sway/input/input-manager.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sway/input/input-manager.c b/sway/input/input-manager.c index b18989d0..0b7cb766 100644 --- a/sway/input/input-manager.c +++ b/sway/input/input-manager.c | |||
@@ -181,6 +181,12 @@ static void input_manager_libinput_config_pointer( | |||
181 | ic->identifier, ic->tap); | 181 | ic->identifier, ic->tap); |
182 | libinput_device_config_tap_set_enabled(libinput_device, ic->tap); | 182 | libinput_device_config_tap_set_enabled(libinput_device, ic->tap); |
183 | } | 183 | } |
184 | if (ic->tap_button_map != INT_MIN) { | ||
185 | wlr_log(WLR_DEBUG, "libinput_config_pointer(%s) tap_set_button_map(%d)", | ||
186 | ic->identifier, ic->tap); | ||
187 | libinput_device_config_tap_set_button_map(libinput_device, | ||
188 | ic->tap_button_map); | ||
189 | } | ||
184 | } | 190 | } |
185 | 191 | ||
186 | static void handle_device_destroy(struct wl_listener *listener, void *data) { | 192 | static void handle_device_destroy(struct wl_listener *listener, void *data) { |