Browse Source

The Xbox One 0x01 initialization packet is an ack packet

Sam Lantinga 5 years ago
parent
commit
25c88ea903
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/joystick/hidapi/SDL_hidapi_xboxone.c

+ 1 - 1
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