[RFC 1/11] Linux FF: Joystick control panel program

Elias Vanderstuyft elias.vds at gmail.com
Sun Apr 27 17:26:06 CDT 2014


Hi,

I've got an additional question about EnumEffects():
Why does the JoystickWImpl_EnumEffects() variant add the additional
code (in contrast with the 'A' function variant)? :
    int xfd = This->joyfd;
    -- snip --
    /* return to unacquired state if that's where it was */
    if (xfd == -1)
        IDirectInputDevice8_Unacquire(iface);

Elias



More information about the wine-devel mailing list