dinput force feedback header detection

Jesse Allen the3dfxdude at gmail.com
Mon Sep 5 12:12:03 CDT 2005


Hi I got this compile error from current cvs:

make[2]: Entering directory `/home/jesse/.local/build/wine/dlls/dinput'
gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  
-D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2
-fno-strict-aliasing -gstabs+ -Wpointer-arith  -g -O2  -o
joystick_linuxinput.o joystick_linuxinput.c
joystick_linuxinput.c: In function `alloc_device':
joystick_linuxinput.c:305: error: `FF_STATUS_STOPPED' undeclared
(first use in this function)
joystick_linuxinput.c:305: error: (Each undeclared identifier is
reported only once
joystick_linuxinput.c:305: error: for each function it appears in.)
joystick_linuxinput.c: In function `joy_polldev':
joystick_linuxinput.c:726: error: `EV_FF_STATUS' undeclared (first use
in this function)
joystick_linuxinput.c: In function `JoystickAImpl_EnumEffects':
joystick_linuxinput.c:1182: warning: unused variable `dei'
joystick_linuxinput.c: In function `JoystickWImpl_EnumEffects':
joystick_linuxinput.c:1266: warning: unused variable `dei'
make[2]: *** [joystick_linuxinput.o] Error 1
make[2]: Leaving directory `/home/jesse/.local/build/wine/dlls/dinput'
make[1]: *** [dinput] Error 2
make[1]: Leaving directory `/home/jesse/.local/build/wine/dlls'
make: *** [dlls] Error 2


Apparently the linux/input.h version 2.4.31 does not have support for
force feedback.  I've installed headers for 2.6.12.5 and now have it
compiled.  So something might need to be done to improve detection,
else others still running 2.4 will get this error.

Jesse



More information about the wine-devel mailing list