diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2008-08-07 16:53:51 +0930 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@redhat.com> | 2008-08-08 15:50:55 +0930 |
commit | 9793de81373bb78b9ddbb2487e0af5d2ddd0b246 (patch) | |
tree | c63725b844be32413bd5280184b2e963e8cc3ea2 /src/evdev.c | |
parent | a9d72b40fbe178fa4fbb9d0e7c02dc6c5250969a (diff) |
Expose wheel emulation through device properties.
Don't enable wheel emulation with 0 inertia - bad things happen.
Diffstat (limited to 'src/evdev.c')
-rw-r--r-- | src/evdev.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/evdev.c b/src/evdev.c index 5bc562a..540738c 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -106,6 +106,11 @@ typedef struct _PropTable { static PropTable evdevPropTable[] = { { 0, "Middle Button Emulation", EvdevMBEmuInitProperty, EvdevMBEmuSetProperty }, { 0, "Middle Button Timeout", EvdevMBEmuInitPropertyTimeout, EvdevMBEmuSetProperty}, + { 0, "Wheel Emulation", EvdevWheelEmuInitProperty, EvdevWheelEmuSetProperty}, + { 0, "Wheel Emulation X Axis", EvdevWheelEmuInitPropertyXMap, EvdevWheelEmuSetProperty}, + { 0, "Wheel Emulation Y Axis", EvdevWheelEmuInitPropertyYMap, EvdevWheelEmuSetProperty}, + { 0, "Wheel Emulation Inertia", EvdevWheelEmuInitPropertyInertia, EvdevWheelEmuSetProperty}, + { 0, "Wheel Emulation Button", EvdevWheelEmuInitPropertyButton, EvdevWheelEmuSetProperty}, { 0, NULL, NULL, NULL } }; |