diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2020-05-18 11:47:29 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2020-05-21 07:29:44 +0000 |
commit | 4ff6d6e3171713f5168a5dc9ca02702a46797bcb (patch) | |
tree | 43708d098ffbbaee61eb49a820219c7570d8ef6c /src/evdev.h | |
parent | 152837f44a5863c68000d13ec89dc51631acc5d4 (diff) | |
download | libinput-4ff6d6e3171713f5168a5dc9ca02702a46797bcb.tar.gz |
Deprecate wheel tilt as separate axis source
This has never been supported through the stack. No device ever had the
required MOUSE_WHEEL_TILT_VERTICAL/HORIZONTAL udev property set, so
libinput never set the right axis source. Neither weston nor mutter
added the code for it. Even if we added wheel tilt for devices now, it
would break those devices. And the benefit we get from having those
separate is miniscule at best.
So let's do the long-term thing and just deprecate this axis source.
The wheel tilt mouse test device remains in the test suite, with the
udev properties set just to verify that we do indeed ignore those now.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/evdev.h')
-rw-r--r-- | src/evdev.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/evdev.h b/src/evdev.h index 8bc97be1..b0b1b8c6 100644 --- a/src/evdev.h +++ b/src/evdev.h @@ -233,8 +233,6 @@ struct evdev_device { /* angle per REL_WHEEL click in degrees */ struct wheel_angle wheel_click_angle; - struct wheel_tilt_flags is_tilt; - enum evdev_button_scroll_lock_state lock_state; bool want_lock_enabled; bool lock_enabled; |