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

Fixed compile error

  • Loading branch information
slouken committed Jan 24, 2011
1 parent 37912eb commit 3983bbd86fb9e6e157fc70ec54af5b49b0e48558
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/joystick/linux/SDL_sysjoystick.c
@@ -703,7 +703,7 @@ EV_ConfigJoystick(SDL_Joystick * joystick, int fd)
if (test_bit(i, absbit)) {
struct input_absinfo absinfo;

if (ioctl(fd, EVIOCGABS(i), values) < 0)
if (ioctl(fd, EVIOCGABS(i), &absinfo) < 0)
continue;
#ifdef DEBUG_INPUT_EVENTS
printf("Joystick has absolute axis: %x\n", i);

0 comments on commit 3983bbd

Please sign in to comment.