diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-01-08 10:32:04 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-01-08 10:32:04 +0400 |
| commit | c6841f19e9681e886afcfa136966174ab9cb028a (patch) | |
| tree | 6aae09de57282e8498e78f49d58238fe02095c7f /src | |
| parent | e1971c4af5761d043e0fcef57b2cc9d8311fec00 (diff) | |
| download | niri-c6841f19e9681e886afcfa136966174ab9cb028a.tar.gz niri-c6841f19e9681e886afcfa136966174ab9cb028a.tar.bz2 niri-c6841f19e9681e886afcfa136966174ab9cb028a.zip | |
Add touchpad tap-button-map setting
Diffstat (limited to 'src')
| -rw-r--r-- | src/input.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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) { |
