summaryrefslogtreecommitdiff
path: root/src/evdev.h
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2008-11-27 13:24:08 +1100
committerDaniel Stone <daniel@fooishbar.org>2008-12-02 19:00:33 +1100
commit6867652c2c8ad563d5655302d94134592b10265b (patch)
tree08d4df058e7d74230edb6359d61529dff9c55798 /src/evdev.h
parent63af314368cec47b6b8266db331f2c820e7a071f (diff)
Keyboard: Disable kernel autorepeat
We handle autorepeat in software due to per-key repeat and whatnot, so disable the kernel's, which just interferes with ours. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/evdev.h')
-rw-r--r--src/evdev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/evdev.h b/src/evdev.h
index af88741..38daafa 100644
--- a/src/evdev.h
+++ b/src/evdev.h
@@ -65,6 +65,7 @@ typedef struct {
int flags;
int tool;
int buttons; /* number of buttons */
+ int key_repeat[2];
BOOL swap_axes;
BOOL invert_x;
BOOL invert_y;