mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-25 23:42:37 +00:00
Make sure we wait after sending the rumble packet when initializing the PowerA Xbox One Mini Wired Controller
This commit is contained in:
parent
6875e62af3
commit
e7a56323ab
1 changed files with 5 additions and 0 deletions
|
|
@ -317,6 +317,11 @@ SendControllerInit(SDL_HIDAPI_Device *device, SDL_DriverXboxOne_Context *ctx)
|
|||
if (packet->response[0]) {
|
||||
return SDL_TRUE;
|
||||
}
|
||||
|
||||
/* Wait to process the rumble packet */
|
||||
if (packet->data == xboxone_powera_rumble_init) {
|
||||
SDL_Delay(10);
|
||||
}
|
||||
}
|
||||
|
||||
/* All done with the negotiation, prepare for input! */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue