aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino
diff options
context:
space:
mode:
authorDavid Madison <dmadison@users.noreply.github.com>2019-03-09 16:22:49 -0500
committerDavid Madison <dmadison@users.noreply.github.com>2019-03-09 16:22:49 -0500
commit09f2a8079f31c12f22131e6c2a56a61690f140d0 (patch)
tree85764a1fc645c0f832ec04de48dd3f856f10f1e1 /cores/arduino
parent2392695516160f6c826e2473ba9c480f2ae72cf0 (diff)
Change endpoint comments to use send/recv
Much better than in/out, since using the controller's perspective meant the inverted "in/out" was confusing
Diffstat (limited to 'cores/arduino')
-rw-r--r--cores/arduino/xinput/USB_XInput_Descriptors.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/cores/arduino/xinput/USB_XInput_Descriptors.cpp b/cores/arduino/xinput/USB_XInput_Descriptors.cpp
index ef9b9d8..f57c700 100644
--- a/cores/arduino/xinput/USB_XInput_Descriptors.cpp
+++ b/cores/arduino/xinput/USB_XInput_Descriptors.cpp
@@ -79,7 +79,7 @@ const u8 USB_ConfigDescriptor[] = {
0x08, // bMaxDataSize
0x00, 0x00, // ???
- // Endpoint 1: Control Data Out
+ // Endpoint 1: Control Surface Send
0x07, // bLength
0x05, // bDescriptorType (ENDPOINT)
0x81, // bEndpointAddress (IN, 1)
@@ -87,7 +87,7 @@ const u8 USB_ConfigDescriptor[] = {
0x20, 0x00, // wMaxPacketSize
0x04, // bInterval
- // Endpoint 1: Control Data In
+ // Endpoint 1: Control Surface Receive
0x07, // bLength
0x05, // bDescriptorType (ENDPOINT)
0x02, // bEndpointAddress (OUT, 2)
@@ -124,7 +124,7 @@ const u8 USB_ConfigDescriptor[] = {
0x00, // bMaxDataSize
0x00, 0x00, 0x00, 0x00, 0x00, // ???
- // Endpoint 2: Microphone Data Out
+ // Endpoint 2: Microphone Data Send
0x07, // bLength
0x05, // bDescriptorType (ENDPOINT)
0x83, // bEndpointAddress (IN, 3)
@@ -132,7 +132,7 @@ const u8 USB_ConfigDescriptor[] = {
0x20, 0x00, // wMaxPacketSize
0x02, // bInterval
- // Endpoint 2: Headset Audio In
+ // Endpoint 2: Headset Audio Receive
0x07, // bLength
0x05, // bDescriptorType (ENDPOINT)
0x04, // bEndpointAddress (OUT, 4)
@@ -140,7 +140,7 @@ const u8 USB_ConfigDescriptor[] = {
0x20, 0x00, // wMaxPacketSize
0x04, // bInterval
- // Endpoint 3: Unknown, Out
+ // Endpoint 3: Unknown, Send
0x07, // bLength
0x05, // bDescriptorType (ENDPOINT)
0x85, // bEndpointAddress (IN, 5)
@@ -148,7 +148,7 @@ const u8 USB_ConfigDescriptor[] = {
0x20, 0x00, // wMaxPacketSize
0x40, // bInterval
- // Endpoint 3: Unknown, In
+ // Endpoint 3: Unknown, Receive
0x07, // bLength
0x05, // bDescriptorType (ENDPOINT)
0x05, // bEndpointAddress (OUT, 5)
@@ -176,7 +176,7 @@ const u8 USB_ConfigDescriptor[] = {
0x07, // bMaxDataSize
0x00, // ???
- // Endpoint 4: Unknown, Out
+ // Endpoint 4: Unknown, Send
0x07, // bLength
0x05, // bDescriptorType (ENDPOINT)
0x86, // bEndpointAddress (IN, 6)