[PATCH libevdev 5/7] Set the size for repeat delays based on REP_MAX
Peter Hutterer
peter.hutterer at who-t.net
Sun Jul 28 21:06:35 PDT 2013
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
libevdev/libevdev-int.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libevdev/libevdev-int.h b/libevdev/libevdev-int.h
index 34f8e05..b6a0341 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_MAX];
enum SyncState sync_state;
int grabbed;
--
1.8.2.1
More information about the Input-tools
mailing list