![]() |
![]() |

Go to the source code of this file.
Data Structures | |
| struct | tHIDMouseInstance |
| struct | tUSBDHIDMouseDevice |
| struct | PACKED |
| USB_CDC_GET/SET_LINE_CODING request-specific data. More... | |
Macros | |
| #define | MOUSE_REPORT_SIZE 3 |
| #define | MOUSE_SUCCESS 0 |
| This return code from USBDHIDMouseStateChange() indicates success. More... | |
| #define | MOUSE_ERR_TX_ERROR 2 |
| #define | MOUSE_ERR_NOT_CONFIGURED 4 |
| #define | MOUSE_REPORT_BUTTON_1 0x01 |
| #define | MOUSE_REPORT_BUTTON_2 0x02 |
| #define | MOUSE_REPORT_BUTTON_3 0x04 |
Enumerations | |
| enum | tMouseState { eHIDMouseStateUnconfigured, eHIDMouseStateIdle, eHIDMouseStateWaitData, eHIDMouseStateSend } |
Functions | |
| void * | USBDHIDMouseInit (uint32_t ui32Index, tUSBDHIDMouseDevice *psMouseDevice) |
| void * | USBDHIDMouseCompositeInit (uint32_t ui32Index, tUSBDHIDMouseDevice *psMouseDevice, tCompositeEntry *psCompEntry) |
| void | USBDHIDMouseTerm (void *pvMouseDevice) |
| void * | USBDHIDMouseSetCBData (void *pvMouseDevice, void *pvCBData) |
| uint32_t | USBDHIDMouseStateChange (void *pvMouseDevice, int8_t i8DeltaX, int8_t i8DeltaY, uint8_t ui8Buttons) |
| void | USBDHIDMousePowerStatusSet (void *pvMouseDevice, uint8_t ui8Power) |
| bool | USBDHIDMouseRemoteWakeupRequest (void *pvMouseDevice) |