62bf2b05
by Viktor Balogh at 2026-02-09T22:41:30+01:00
dinput: Return DIERR_UNSUPPORTED in dinput_device_Escape.
At least Thrustmaster wheels are known for using the Escape method for
communication between the driver and the game. This is not utilized by
every game, but one that does is RaceRoom Racing Experience (RRRE).
RRRE uses it to query/set the wheel range and set force strengths. The
problematic part is the wheel range query, because the returned value
(0) is not the real range and that throws off the internal logic of
RRRE's engine and causes the wheel to snap in one direction.
Returning DIERR_UNSUPPORTED clearly indicates that the call failed and
RRRE no longer tries to use these methods for interaction with the
wheel.
Returning DIERR_UNSUPPORTED is also aligns with the behaviour of
hid_joystick_effect_Escape.