DINPUT: Detect force feedback joysticks (FF #1)

Alexandre Julliard julliard at winehq.org
Thu Jul 28 05:56:19 CDT 2005


Daniel Remenak <dtremenak at gmail.com> writes:

> 1. Configure checks for the availability of a new enough linux/input.h
> to support force feedback.  This pretty much means any kernel 2.6 or
> kernel 2.4.x with the ff patchset found at
> http://sourceforge.net/projects/libff/.  Some of the structures were
> changed without changing the version define, so this check is
> necessary.

Why do you need to check the structure since you are not using it?
Shouldn't you simply do a #ifdef on the ioctl code or whatever else
that you use and may not be defined?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list