Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix from 1.2 branch: ignore bogus Linux evdev joystick axes.

  • Loading branch information
icculus committed Jun 3, 2012
1 parent 838efbb commit 43251eaea5e8aa41febdaa445214f12b3edc472a
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/joystick/linux/SDL_sysjoystick.c
@@ -1117,6 +1117,10 @@ EV_HandleEvents(SDL_Joystick * joystick)
}
break;
case EV_ABS:
if (code >= ABS_MISC) {
break;
}

switch (code) {
case ABS_HAT0X:
case ABS_HAT0Y:

0 comments on commit 43251ea

Please sign in to comment.