Browse Source

Add 2nd VID:PID for XBox One

As per forum post by linarism, added 2nd XBox controller PID
main
Kurt Eckhardt 7 years ago
parent
commit
a1986c3d30
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      USBHost_t36.h
  2. +1
    -1
      joystick.cpp

+ 1
- 1
USBHost_t36.h View File

@@ -56,7 +56,7 @@
// your best effort to read chapter 4 before asking USB questions!


//#define USBHOST_PRINT_DEBUG
#define USBHOST_PRINT_DEBUG

/************************************************/
/* Data Types */

+ 1
- 1
joystick.cpp View File

@@ -155,7 +155,7 @@ void JoystickController::joystickDataClear() {
//*****************************************************************************
// Note: currently just XBOX one.
JoystickController::product_vendor_mapping_t JoystickController::pid_vid_mapping[] = {
{0x045e, 0x02ea} };
{ 0x045e, 0x02ea },{ 0x045e, 0x02dd } };

static uint8_t start_input[] = {0x05, 0x20, 0x00, 0x01, 0x00};


Loading…
Cancel
Save