mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2026-05-05 14:38:02 +02:00
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>
This commit is contained in:
parent
6a1a0f4f0c
commit
3e795ea509
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ struct libevdev {
|
||||||
unsigned int mt_slot_vals[MAX_SLOTS][ABS_MT_CNT];
|
unsigned int mt_slot_vals[MAX_SLOTS][ABS_MT_CNT];
|
||||||
int num_slots; /**< valid slots in mt_slot_vals */
|
int num_slots; /**< valid slots in mt_slot_vals */
|
||||||
int current_slot;
|
int current_slot;
|
||||||
int rep_values[2];
|
int rep_values[REP_CNT];
|
||||||
|
|
||||||
enum SyncState sync_state;
|
enum SyncState sync_state;
|
||||||
int grabbed;
|
int grabbed;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue