浏览代码

Add 2nd VID:PID for XBox One

As per forum post by linarism, added 2nd XBox controller PID
main
Kurt Eckhardt 7 年前
父节点
当前提交
a1986c3d30
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      USBHost_t36.h
  2. +1
    -1
      joystick.cpp

+ 1
- 1
USBHost_t36.h 查看文件

@@ -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 查看文件

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


正在加载...
取消
保存