Skip to content

Commit

Permalink
This packet didn't end up being needed to initialize input for the Xb…
Browse files Browse the repository at this point in the history
…ox One Elite Series 2 controller
  • Loading branch information
slouken committed Nov 23, 2019
1 parent 6fc3886 commit 8e15392
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/joystick/hidapi/SDL_hidapi_xboxone.c
Expand Up @@ -39,13 +39,6 @@
/* The amount of time to wait after hotplug to send controller init sequence */
#define CONTROLLER_INIT_DELAY_MS 100

/*
* This packet is required for Xbox One Elite Series 2 pad, initial firmware version
*/
static const Uint8 xboxone_elite_series2_init[] = {
0x04, 0x20, 0x01, 0x00
};

/*
* This packet is required for all Xbox One pads with 2015
* or later firmware installed (or present from the factory).
Expand Down Expand Up @@ -118,7 +111,6 @@ typedef struct {
static const SDL_DriverXboxOne_InitPacket xboxone_init_packets[] = {
{ 0x0e6f, 0x0165, xboxone_hori_init, sizeof(xboxone_hori_init) },
{ 0x0f0d, 0x0067, xboxone_hori_init, sizeof(xboxone_hori_init) },
{ 0x045e, 0x0b00, xboxone_elite_series2_init, sizeof(xboxone_elite_series2_init) },
{ 0x0000, 0x0000, xboxone_fw2015_init, sizeof(xboxone_fw2015_init) },
{ 0x0e6f, 0x0000, xboxone_pdp_init1, sizeof(xboxone_pdp_init1) },
{ 0x0e6f, 0x0000, xboxone_pdp_init2, sizeof(xboxone_pdp_init2) },
Expand Down

0 comments on commit 8e15392

Please sign in to comment.