USBLib API Guide  1.00.00.01
Data Structures | Macros | Enumerations | Functions
usbdhidgamepad.h File Reference
This graph shows which files directly or indirectly include this file:

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

tUSBDHIDGamepadDeviceUSBDHIDGamepadInit (uint32_t ui32Index, tUSBDHIDGamepadDevice *psGamepad)
 
tUSBDHIDGamepadDeviceUSBDHIDGamepadCompositeInit (uint32_t ui32Index, tUSBDHIDGamepadDevice *psGamepad, tCompositeEntry *psCompEntry)
 
void USBDHIDGamepadTerm (tUSBDHIDGamepadDevice *psGamepad)
 
uint32_t USBDHIDGamepadSendReport (tUSBDHIDGamepadDevice *psHIDGamepad, void *pvReport, uint32_t ui32Size)
 
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale