#98 Input Devices Malfunctioning

Linux_(32_bit)
open
nobody
None
5
2014-05-23
2012-04-13
Ryusei117
No

Copied from my post in the D2X-XL help forum:

---

The modded SDL libs don't work well with my MS Sidewinder Precision 2 joystick or my CM Storm Xornet mouse. The joystick seems to have one axis, and the mouse's forward thumb button (button 9) doesn't work. The normal SDL from my distro works fine with the input devices, but locks up XL at various times, such as when I quit the program. I saw the "--enable-linuxjoy" option of "configure", and tried building with that, but got this error near the end of the compile:

g++ -DHAVE_CONFIG_H -I. -I.. -I ../include -I ../input/include -I ../network/linux/include -I ../audio/linux/include -I /usr/local/include/SDL -I/usr/local/lib/games/d2x-xl/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O3 -Wall -Wno-char-subscripts -fopenmp -MT input.o -MD -MP -MF .deps/input.Tpo -c -o input.o input.cpp
input.cpp:47:22: fatal error: joystick.h: No such file or directory
compilation terminated.

---

So, to be clear, the problem occurs if I link D2X-XL with the modified SDL libraries, but not if I use the normal ones (which cause other problems, though). Any help would be greatly appreciated.

Discussion

  • karx11erx
    karx11erx
    2014-05-23

    The modified SDL libs only fix a bunch of crashes and do not change anything about the input device handling, so I am clueless what might cause your problems.