From c6841f19e9681e886afcfa136966174ab9cb028a Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Mon, 8 Jan 2024 10:32:04 +0400 Subject: Add touchpad tap-button-map setting --- src/input.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/input.rs b/src/input.rs index 9dc10189..2692726f 100644 --- a/src/input.rs +++ b/src/input.rs @@ -101,6 +101,10 @@ impl State { if let Some(accel_profile) = c.accel_profile { let _ = device.config_accel_set_profile(accel_profile.into()); } + + if let Some(tap_button_map) = c.tap_button_map { + let _ = device.config_tap_set_button_map(tap_button_map.into()); + } } if device.has_capability(input::DeviceCapability::TabletTool) { -- cgit