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
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.
Log in to post a comment.