From e237de0dea9fe24e1c4efc78523bfdd86ed73876 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Wed, 20 Aug 2008 18:16:40 -0700 Subject: Add timeout support for mouse wheel emulation Support the EmulateWheelTimeout option as the mouse driver does. Signed-off-by: Dan Nicholson Signed-off-by: Peter Hutterer --- src/evdev.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/evdev.h') 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 */ -- cgit v1.2.3