File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ uint8_t XInputGamepad::getLEDPatternID() const {
308308void XInputGamepad::send () {
309309#ifdef USB_XINPUT
310310 if (!newData) return ; // TX data hasn't changed
311- XInputUSB. send (tx, USB_Timeout);
311+ XInputUSB:: send (tx, USB_Timeout);
312312 newData = false ;
313313#else
314314 #warning "Using debug output for XInput send()"
@@ -318,13 +318,13 @@ void XInputGamepad::send() {
318318
319319void XInputGamepad::receive () {
320320#ifdef USB_XINPUT
321- if (XInputUSB. available () == 0 ) {
321+ if (XInputUSB:: available () == 0 ) {
322322 return ; // No packet available
323323 }
324324
325325 // Grab packet and store it in rx array
326326 uint8_t rx[8 ];
327- XInputUSB. recv (rx, USB_Timeout);
327+ XInputUSB:: recv (rx, USB_Timeout);
328328
329329 // Rumble Packet
330330 if ((rx[0 ] == 0x00 ) & (rx[1 ] == 0x08 )) {
You can’t perform that action at this time.
0 commit comments