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
+ \r
/* Function Prototypes: */\r
+ void EVENT_USB_Connect(void);\r
+ void EVENT_USB_Disconnect(void);\r
+ void EVENT_USB_ConfigurationChanged(void);\r
+ void EVENT_USB_UnhandledControlPacket(void);\r
+ \r
bool GetNextReport(USB_KeyboardReport_Data_t* ReportData);\r
void SendKey(USB_KeyboardReport_Data_t* KeyboardReportData, uint8_t Key);\r
void Send(USB_KeyboardReport_Data_t* KeyboardReportData, bool SendReport);\r