From 25c88ea90327bbbbe8244272574bdfb9c92f7b0c Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 20 Jan 2020 13:53:40 -0800 Subject: [PATCH] The Xbox One 0x01 initialization packet is an ack packet --- src/joystick/hidapi/SDL_hidapi_xboxone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/joystick/hidapi/SDL_hidapi_xboxone.c b/src/joystick/hidapi/SDL_hidapi_xboxone.c index a81a6ef93..55972ecce 100644 --- a/src/joystick/hidapi/SDL_hidapi_xboxone.c +++ b/src/joystick/hidapi/SDL_hidapi_xboxone.c @@ -46,7 +46,7 @@ static const Uint8 xboxone_init0[] = { 0x04, 0x20, 0x00, 0x00 }; -/* Finish initialization? */ +/* Initial ack */ static const Uint8 xboxone_init1[] = { 0x01, 0x20, 0x01, 0x09, 0x00, 0x04, 0x20, 0x3a, 0x00, 0x00, 0x00, 0x80, 0x00