mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-03 10:27:40 +00:00
Continue running XInput detection while RAWINPUT is active
This allows us to re-enable XInput correlation for RAWINPUT devices without reintroducing the controller shutdown bug for controllers using the wireless adapter in https://github.com/libsdl-org/SDL/issues/3468.
Fixes https://github.com/libsdl-org/SDL/issues/7940
(cherry picked from commit a0a3957eb6
)
This commit is contained in:
parent
ec90c2e26d
commit
9f19b2bd97
2 changed files with 15 additions and 8 deletions
|
@ -43,7 +43,7 @@
|
|||
raw input will turn off the Xbox Series X controller when it is connected via the
|
||||
Xbox One Wireless Adapter.
|
||||
*/
|
||||
#if 0 /*def HAVE_XINPUT_H*/
|
||||
#ifdef HAVE_XINPUT_H
|
||||
#define SDL_JOYSTICK_RAWINPUT_XINPUT
|
||||
#endif
|
||||
#ifdef HAVE_WINDOWS_GAMING_INPUT_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue