- \r
- /* Type Defines: */\r
- /** Type define for the keyboard report structure. This structure matches the report layout\r
- * given to the host in the HID Report descriptor, as well as matches the boot protocol report\r
- * structure. This means that this one report structure can be used in both Report and Boot Protocol\r
- * modes. */\r
- typedef struct\r
- {\r
- uint8_t Modifier; /**< Modifier byte, indicating pressed modifier keys such as CTRL or ALT */\r
- uint8_t Reserved; /**< Reserved for OEM use, always set to 0 */\r
- uint8_t KeyCode; /**< Key code array for pressed keys - up to six can be given simultaneously */\r
- } USB_KeyboardReport_Data_t;\r
-\r
- /* Event Handlers: */\r
- /** Indicates that this module will catch the USB_Connect event when thrown by the library. */\r
- HANDLES_EVENT(USB_Connect);\r
-\r
- /** Indicates that this module will catch the USB_Disconnect event when thrown by the library. */\r
- HANDLES_EVENT(USB_Disconnect);\r
-\r
- /** Indicates that this module will catch the USB_ConfigurationChanged event when thrown by the library. */\r
- HANDLES_EVENT(USB_ConfigurationChanged);\r
-\r
- /** Indicates that this module will catch the USB_UnhandledControlPacket event when thrown by the library. */\r
- HANDLES_EVENT(USB_UnhandledControlPacket);\r
- \r