Detailed Description
Purpose
This directory provides definitions, structs and functions for a USB HID device - USB HID Mouse driver, to implement an USB Mouse device.
Contents
There are three things for the implement of the USB HID Mouse driver:
- Implement the USB HID driver structs and functions for the device, to initialize, to handle HID-specific requests and dispach standard requests in USBD callbacks, to read/write through assigned USB endpoints,
- Create the HID Mouse device's descriptors that should be passed to the USBDDriver instance on initialization, so that the host can recognize the device as a USB Mouse device.
- Implement methods to update the Mouse keys status, so that host can get it through USB.
For more information about what a particular group contains, please refer to "USB HID Mouse".