summaryrefslogtreecommitdiff
path: root/xts5/src/lib/XInput.c
diff options
context:
space:
mode:
Diffstat (limited to 'xts5/src/lib/XInput.c')
-rw-r--r--xts5/src/lib/XInput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xts5/src/lib/XInput.c b/xts5/src/lib/XInput.c
index 04169b79..35c3c95e 100644
--- a/xts5/src/lib/XInput.c
+++ b/xts5/src/lib/XInput.c
@@ -104,7 +104,7 @@ int NumKeys,
ButtonMapLength,
nclass,
nevent,
- event_types[32],
+ event_types[LASTEvent - 2], /* 0 and 1 are reply/error */
MinKeyCode,
MaxKeyCode,
Feedback_Class,