From 8e153922e48fbb0f8dd3fd24c0194da679097a3a Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 22 Nov 2019 17:46:30 -0800 Subject: [PATCH] This packet didn't end up being needed to initialize input for the Xbox One Elite Series 2 controller --- src/joystick/hidapi/SDL_hidapi_xboxone.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/joystick/hidapi/SDL_hidapi_xboxone.c b/src/joystick/hidapi/SDL_hidapi_xboxone.c index 68370a100..ff81fbec9 100644 --- a/src/joystick/hidapi/SDL_hidapi_xboxone.c +++ b/src/joystick/hidapi/SDL_hidapi_xboxone.c @@ -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). @@ -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) },