mirror of
https://github.com/swaywm/sway.git
synced 2025-11-13 13:29:49 -05:00
Implement tap_button_map for input devices
This commit is contained in:
parent
63f28bcf1e
commit
13c6627ddb
8 changed files with 53 additions and 0 deletions
|
|
@ -181,6 +181,12 @@ static void input_manager_libinput_config_pointer(
|
|||
ic->identifier, ic->tap);
|
||||
libinput_device_config_tap_set_enabled(libinput_device, ic->tap);
|
||||
}
|
||||
if (ic->tap_button_map != INT_MIN) {
|
||||
wlr_log(WLR_DEBUG, "libinput_config_pointer(%s) tap_set_button_map(%d)",
|
||||
ic->identifier, ic->tap);
|
||||
libinput_device_config_tap_set_button_map(libinput_device,
|
||||
ic->tap_button_map);
|
||||
}
|
||||
}
|
||||
|
||||
static void handle_device_destroy(struct wl_listener *listener, void *data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue