aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/xinput
diff options
context:
space:
mode:
authorDavid Madison <dmadison@users.noreply.github.com>2019-02-19 12:41:46 -0500
committerDavid Madison <dmadison@users.noreply.github.com>2019-02-19 13:17:00 -0500
commit697a840e1b23a06f595bc2dbd75bcaacb9a1a8ad (patch)
tree6a011aab0db069915105a1fea890fa1b7222ee8d /cores/arduino/xinput
parent905158b7844c5e346439d18f856a7a9a59f467ab (diff)
Add XInput endpoint number defines
Diffstat (limited to 'cores/arduino/xinput')
-rw-r--r--cores/arduino/xinput/USB_XInput_Descriptors.h4
1 files changed, 4 insertions, 0 deletions
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