Explorar el Código

Add 2nd VID:PID for XBox One

As per forum post by linarism, added 2nd XBox controller PID
main
Kurt Eckhardt hace 7 años
padre
commit
a1986c3d30
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. +1
    -1
      USBHost_t36.h
  2. +1
    -1
      joystick.cpp

+ 1
- 1
USBHost_t36.h Ver fichero

@@ -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 Ver fichero

@@ -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};


Cargando…
Cancelar
Guardar