https://bugs.winehq.org/show_bug.cgi?id=52062
Bug ID: 52062 Summary: dinput HID joystick doesn't implement effect state reports. Product: Wine Version: 6.21 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: directx-dinput Assignee: wine-bugs@winehq.org Reporter: rbernon@codeweavers.com Distribution: ---
Split from https://bugs.winehq.org/show_bug.cgi?id=51873, IDirectInputDevice8_GetForceFeedbackState and IDirectInputEffect_GetEffectStatus are both not implemented and returning DIERR_UNSUPPORTED.
Some games are then unable to tell the current status of created effects and may try to create them again or just consider force feedback as not working.
This will require PID effect state reports, and possible use of HidD_GetInputReport / IOCTL_HID_GET_INPUT_REPORT, as some device only support these reports through explicit requests and aren't sending them with the device state reports.