Go to the source code of this file.
Data Structures | |
struct | tUSBDGamepadInstance |
struct | tUSBDHIDGamepadDevice |
struct | PACKED |
USB_CDC_GET/SET_LINE_CODING request-specific data. More... | |
Macros | |
#define | USBDGAMEPAD_SUCCESS 0 |
The USBDHIDGamepadSendReport() call successfully scheduled the report. More... | |
#define | USBDGAMEPAD_TX_ERROR 1 |
#define | USBDGAMEPAD_NOT_CONFIGURED 2 |
The device is not currently configured and cannot perform any operations. More... | |
Enumerations | |
enum | tGamepadState { eHIDGamepadStateNotConnected, eHIDGamepadStateIdle, eHIDGamepadStateSending } |
Functions | |
tUSBDHIDGamepadDevice * | USBDHIDGamepadInit (uint32_t ui32Index, tUSBDHIDGamepadDevice *psGamepad) |
tUSBDHIDGamepadDevice * | USBDHIDGamepadCompositeInit (uint32_t ui32Index, tUSBDHIDGamepadDevice *psGamepad, tCompositeEntry *psCompEntry) |
void | USBDHIDGamepadTerm (tUSBDHIDGamepadDevice *psGamepad) |
uint32_t | USBDHIDGamepadSendReport (tUSBDHIDGamepadDevice *psHIDGamepad, void *pvReport, uint32_t ui32Size) |