aboutsummaryrefslogtreecommitdiff
path: root/src/evdev.h
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2008-08-20 18:16:40 -0700
committerPeter Hutterer <peter.hutterer@redhat.com>2008-08-22 08:41:14 +0930
commite237de0dea9fe24e1c4efc78523bfdd86ed73876 (patch)
treed2175f411868e34d5f2a769e688fd0d281887eea /src/evdev.h
parentAdd property support for drag lock. (diff)
downloadxf86-input-evdev-e237de0dea9fe24e1c4efc78523bfdd86ed73876.tar.gz
xf86-input-evdev-e237de0dea9fe24e1c4efc78523bfdd86ed73876.tar.bz2
xf86-input-evdev-e237de0dea9fe24e1c4efc78523bfdd86ed73876.zip
Add timeout support for mouse wheel emulation
Support the EmulateWheelTimeout option as the mouse driver does. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Diffstat (limited to 'src/evdev.h')
-rw-r--r--src/evdev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/evdev.h b/src/evdev.h
index 1f829f0..80756ac 100644
--- a/src/evdev.h
+++ b/src/evdev.h
@@ -90,6 +90,8 @@ typedef struct {
int inertia;
WheelAxis X;
WheelAxis Y;
+ Time expires; /* time of expiry */
+ Time timeout;
} emulateWheel;
unsigned char btnmap[32]; /* config-file specified button mapping */