What's up with the change from JoystickAImpl_Acquire to IDirectInputDevice8_Acquire?
It will break this function; in the middle of GetCapabilities is
axes=0; for (i=0;i<ABS_MAX;i++) if (test_bit(This->absbits,i)) axes++; buttons=0; for (i=0;i<KEY_MAX;i++) if (test_bit(This->keybits,i)) buttons++;
if (This->has_ff) lpDIDevCaps->dwFlags |= DIDC_FORCEFEEDBACK;
absbits, keybits, and has_ff are all set properly only when the joystick is acquired with JoystickAImpl_Acquire. absbits and keybits are also set during joydev_have, but if you have more than one device they may not be set for the correct device unless you explicitly acquire it. has_ff is not set at all until the stick is acquired.
On Thu, Oct 06, 2005 at 12:30:48PM -0700, Daniel Remenak wrote:
i did this just for consistency's sake. i have not used FF for a long time (not even with windows and the time i had a FF wheel) - so can not test this. feel free to patch again - or i will send a new patch after the weekend, where i try to pinpoint down some other issues.