This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
1 addition
and
1 deletion.
-
+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); |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.