mirror of
https://github.com/gdsports/USBHost_t36
synced 2024-11-21 08:35:03 -05:00
Add 2nd VID:PID for XBox One
As per forum post by linarism, added 2nd XBox controller PID
This commit is contained in:
parent
c5edb1c25f
commit
a1986c3d30
@ -56,7 +56,7 @@
|
|||||||
// your best effort to read chapter 4 before asking USB questions!
|
// your best effort to read chapter 4 before asking USB questions!
|
||||||
|
|
||||||
|
|
||||||
//#define USBHOST_PRINT_DEBUG
|
#define USBHOST_PRINT_DEBUG
|
||||||
|
|
||||||
/************************************************/
|
/************************************************/
|
||||||
/* Data Types */
|
/* Data Types */
|
||||||
|
@ -155,7 +155,7 @@ void JoystickController::joystickDataClear() {
|
|||||||
//*****************************************************************************
|
//*****************************************************************************
|
||||||
// Note: currently just XBOX one.
|
// Note: currently just XBOX one.
|
||||||
JoystickController::product_vendor_mapping_t JoystickController::pid_vid_mapping[] = {
|
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};
|
static uint8_t start_input[] = {0x05, 0x20, 0x00, 0x01, 0x00};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user