18 #ifndef _xboxonesparser_h_ 19 #define _xboxonesparser_h_ 42 } __attribute__((packed));
44 } __attribute__((packed));
51 } __attribute__((packed));
93 void setRumbleOn(uint8_t leftTrigger, uint8_t rightTrigger, uint8_t leftMotor, uint8_t rightMotor);
101 void Parse(uint8_t len, uint8_t *buf);
111 virtual void sendOutputReport(uint8_t *data, uint8_t nbytes) = 0;
121 uint8_t xboxButtonState, xboxOldButtonState, xboxbuttonClickState;
123 uint16_t triggerOld[2];