Skip to content

Commit

Permalink
Fixed initializing the PDP Xbox One and Victrix Gambit controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 5, 2022
1 parent 7e11b09 commit a4626de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/joystick/hidapi/SDL_hidapi_xboxone.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ typedef struct {


static const SDL_DriverXboxOne_InitPacket xboxone_init_packets[] = {
/* The PDP Rock Candy controller doesn't start sending input until it gets this packet */
{ 0x0e6f, 0x0246, 0x0000, 0x0000, security_passed_packet, sizeof(security_passed_packet), { 0x00, 0x00 } },
{ 0x0000, 0x0000, 0x0000, 0x0000, xboxone_init0, sizeof(xboxone_init0), { 0x00, 0x00 } },
{ 0x0000, 0x0000, 0x0000, 0x0000, xboxone_init1, sizeof(xboxone_init1), { 0x00, 0x00 } },
/* The PDP Rock Candy and Victrix Gambit controllers don't start sending input until they get this packet */
{ 0x0e6f, 0x0000, 0x0000, 0x0000, security_passed_packet, sizeof(security_passed_packet), { 0x00, 0x00 } },
{ 0x0000, 0x0000, 0x0000, 0x0000, xboxone_init2, sizeof(xboxone_init2), { 0x00, 0x00 } },
};

Expand Down

0 comments on commit a4626de

Please sign in to comment.