24 #ifndef __USBDHIDGAME_H__ 25 #define __USBDHIDGAME_H__ 190 #define USBDGAMEPAD_SUCCESS 0 198 #define USBDGAMEPAD_TX_ERROR 1 205 #define USBDGAMEPAD_NOT_CONFIGURED \ 254 void *pvReport, uint32_t ui32Size);
int8_t i8YPos
Signed 8-bit value (-128 to 127).
Definition: usbdhidgamepad.h:227
Definition: usbdhid.h:759
void * pvCBData
Definition: usbdhidgamepad.h:142
tUSBDHIDGamepadDevice * USBDHIDGamepadCompositeInit(uint32_t ui32Index, tUSBDHIDGamepadDevice *psGamepad, tCompositeEntry *psCompEntry)
Definition: usbdhidgamepad.c:627
Definition: usbdhidgamepad.h:81
const uint16_t ui16PID
The product ID that this device is to present in the device descriptor.
Definition: usbdhidgamepad.h:116
tUSBDGamepadInstance sPrivateData
Definition: usbdhidgamepad.h:181
Definition: usbdevice.h:135
Definition: usbdhid.h:800
tUSBDHIDGamepadDevice * USBDHIDGamepadInit(uint32_t ui32Index, tUSBDHIDGamepadDevice *psGamepad)
Definition: usbdhidgamepad.c:555
const uint32_t ui32ReportSize
Definition: usbdhidgamepad.h:174
void USBDHIDGamepadTerm(tUSBDHIDGamepadDevice *psGamepad)
Definition: usbdhidgamepad.c:814
const uint8_t ui8PwrAttributes
Definition: usbdhidgamepad.h:129
uint32_t USBDHIDGamepadSendReport(tUSBDHIDGamepadDevice *psHIDGamepad, void *pvReport, uint32_t ui32Size)
Definition: usbdhidgamepad.c:733
int8_t i8ZPos
Signed 8-bit value (-128 to 127).
Definition: usbdhidgamepad.h:232
tGamepadState
Definition: usbdhidgamepad.h:54
const uint8_t *const * ppui8StringDescriptors
Definition: usbdhidgamepad.h:156
tHIDReportIdle sReportIdle
Definition: usbdhidgamepad.h:97
tGamepadState iState
Definition: usbdhidgamepad.h:91
const uint32_t ui32NumStringDescriptors
Definition: usbdhidgamepad.h:162
uint32_t(* tUSBCallback)(void *pvCBData, uint32_t ui32Event, uint32_t ui32MsgParam, void *pvMsgData)
Definition: usblib.h:1220
Definition: usbdhidgamepad.h:69
tUSBDHIDDevice sHIDDevice
Definition: usbdhidgamepad.h:86
Definition: usbdhidgamepad.h:106
Definition: usbdhidgamepad.h:64
const tUSBCallback pfnCallback
Definition: usbdhidgamepad.h:136
uint8_t ui8Buttons
8-bit button mapping with button 1 in the LSB.
Definition: usbdhidgamepad.h:237
Definition: usbdhidgamepad.h:59
const uint16_t ui16MaxPowermA
The maximum power consumption of the device, expressed in milliamps.
Definition: usbdhidgamepad.h:121
const uint16_t ui16VID
The vendor ID that this device is to present in the device descriptor.
Definition: usbdhidgamepad.h:111
const uint8_t * pui8ReportDescriptor
Definition: usbdhidgamepad.h:168
USB_CDC_GET/SET_LINE_CODING request-specific data.
Definition: usbaudio.h:288
int8_t i8XPos
Signed 8-bit value (-128 to 127).
Definition: usbdhidgamepad.h:222