Controller Input: Gyro Aiming does not work when using DualShock 4/DualSense Controller under Bluetooth mode

There's a issue with SDL2 where PlayStation controller's Motion Sensors will not work on Bluetooth connectivity, this is because SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE and SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE hints also enables Motion Sensors on DS4/DualSense bluetooth mode (https://github.com/libsdl-org/SDL/issues/10086). This hint is disabled by default, but this is problematic within the context of Gyro Aiming....

which OpenMW has this exact issue, and it affects all Desktop versions. just pair your DualShock 4 or DualSense controller on Bluetooth mode, put enable gyroscope = true on settings.ctg and you'd find the problem instantly. This affects all sourceports with gyroscope support that doesn't have these two hints enabled.

This specific problem has already been solved in SDL3, as it's replacing both hints with SDL_HINT_JOYSTICK_ENHANCED_REPORTS (enabled by default), but this assumes OpenMW team plans to migrate to SDL3.

the best workaround is to simply enable these two hints and Gyro Aiming (and Rumbles!) will now work as intended, and would helps out #6571

Edited by Al. Lopez