This packet didn't end up being needed to initialize input for the Xbox One Elite Series 2 controller
authorSam Lantinga <slouken@libsdl.org>
Fri, 22 Nov 2019 17:46:30 -0800
changeset 13280559e831e2cb0
parent 13279 657865a3a43a
child 13281 f8707178f3db
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
     1.1 --- a/src/joystick/hidapi/SDL_hidapi_xboxone.c	Sat Nov 23 03:28:02 2019 +0300
     1.2 +++ b/src/joystick/hidapi/SDL_hidapi_xboxone.c	Fri Nov 22 17:46:30 2019 -0800
     1.3 @@ -40,13 +40,6 @@
     1.4  #define CONTROLLER_INIT_DELAY_MS    100
     1.5  
     1.6  /*
     1.7 - * This packet is required for Xbox One Elite Series 2 pad, initial firmware version
     1.8 - */
     1.9 -static const Uint8 xboxone_elite_series2_init[] = {
    1.10 -    0x04, 0x20, 0x01, 0x00
    1.11 -};
    1.12 -
    1.13 -/*
    1.14   * This packet is required for all Xbox One pads with 2015
    1.15   * or later firmware installed (or present from the factory).
    1.16   */
    1.17 @@ -118,7 +111,6 @@
    1.18  static const SDL_DriverXboxOne_InitPacket xboxone_init_packets[] = {
    1.19      { 0x0e6f, 0x0165, xboxone_hori_init, sizeof(xboxone_hori_init) },
    1.20      { 0x0f0d, 0x0067, xboxone_hori_init, sizeof(xboxone_hori_init) },
    1.21 -    { 0x045e, 0x0b00, xboxone_elite_series2_init, sizeof(xboxone_elite_series2_init) },
    1.22      { 0x0000, 0x0000, xboxone_fw2015_init, sizeof(xboxone_fw2015_init) },
    1.23      { 0x0e6f, 0x0000, xboxone_pdp_init1, sizeof(xboxone_pdp_init1) },
    1.24      { 0x0e6f, 0x0000, xboxone_pdp_init2, sizeof(xboxone_pdp_init2) },