typedef struct\r
{\r
uint8_t Modifier; /**< Keyboard modifier byte, indicating pressed modifier keys (such as Shift, Control, etc.) */\r
- uint8_t RESERVED; /**< Reserved for OEM use, always set to 0 */\r
- uint8_t KeyCode; /**< Key code of the currently pressed key */\r
+ uint8_t Reserved; /**< Reserved for OEM use, always set to 0 */\r
+ uint8_t KeyCode[6]; /**< Key codes of the currently pressed keys */\r
} USB_KeyboardReport_Data_t;\r
-\r
+ \r
/* Function Prototypes: */\r
void Keyboard_HID_Task(void);\r
+ void SetupHardware(void);\r
\r
- void EVENT_USB_HostError(const uint8_t ErrorCode);\r
- void EVENT_USB_DeviceAttached(void);\r
- void EVENT_USB_DeviceUnattached(void);\r
- void EVENT_USB_DeviceEnumerationFailed(const uint8_t ErrorCode, const uint8_t SubErrorCode);\r
- void EVENT_USB_DeviceEnumerationComplete(void);\r
+ void EVENT_USB_Host_HostError(const uint8_t ErrorCode);\r
+ void EVENT_USB_Host_DeviceAttached(void);\r
+ void EVENT_USB_Host_DeviceUnattached(void);\r
+ void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode, const uint8_t SubErrorCode);\r
+ void EVENT_USB_Host_DeviceEnumerationComplete(void);\r
\r
void ReadNextReport(void);\r
\r