summaryrefslogtreecommitdiff
path: root/libevdev/libevdev-int.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-07-29 11:45:30 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-07-31 08:36:43 +1000
commit3e795ea50996ad64d420e58bd6859af98560dd15 (patch)
treecbf9ca06386c988e7f226d389db59a62ba9c9cac /libevdev/libevdev-int.h
parent6a1a0f4f0c8cf0851715cd7011dbbcd7beb692c5 (diff)
downloadlibevdev-3e795ea50996ad64d420e58bd6859af98560dd15.tar.gz
Set the size for repeat delays based on REP_CNT
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Diffstat (limited to 'libevdev/libevdev-int.h')
-rw-r--r--libevdev/libevdev-int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libevdev/libevdev-int.h b/libevdev/libevdev-int.h
index 34f8e05..a36be62 100644
--- a/libevdev/libevdev-int.h
+++ b/libevdev/libevdev-int.h
@@ -93,7 +93,7 @@ struct libevdev {
unsigned int mt_slot_vals[MAX_SLOTS][ABS_MT_CNT];
int num_slots; /**< valid slots in mt_slot_vals */
int current_slot;
- int rep_values[2];
+ int rep_values[REP_CNT];
enum SyncState sync_state;
int grabbed;