Fixed compile error
This commit is contained in:
parent
c330005880
commit
b33881a48e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue