From 697a840e1b23a06f595bc2dbd75bcaacb9a1a8ad Mon Sep 17 00:00:00 2001 From: David Madison Date: Tue, 19 Feb 2019 12:41:46 -0500 Subject: Add XInput endpoint number defines --- cores/arduino/xinput/USB_XInput_Descriptors.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cores/arduino') diff --git a/cores/arduino/xinput/USB_XInput_Descriptors.h b/cores/arduino/xinput/USB_XInput_Descriptors.h index 8cb19df..21697fb 100644 --- a/cores/arduino/xinput/USB_XInput_Descriptors.h +++ b/cores/arduino/xinput/USB_XInput_Descriptors.h @@ -44,6 +44,10 @@ extern const u8 STRING_SECURITY[] PROGMEM; #define ISECURITY 4 +// Endpoint Numbers +#define XINPUT_TX_ENDPOINT 1 +#define XINPUT_RX_ENDPOINT 2 + #undef USB_VID #define USB_VID 0x045E -- cgit v1.2.3-18-g5258