aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/GenericHID/GenericHID.h
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Device/GenericHID/GenericHID.h')
-rw-r--r--Demos/Device/GenericHID/GenericHID.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/Demos/Device/GenericHID/GenericHID.h b/Demos/Device/GenericHID/GenericHID.h
index 5841595e3..30354b756 100644
--- a/Demos/Device/GenericHID/GenericHID.h
+++ b/Demos/Device/GenericHID/GenericHID.h
@@ -67,20 +67,15 @@
Status_USBReady = 2, /**< USB interface is connected and ready */
};
- /* Event Handlers: */
- /** Indicates that this module will catch the USB_Connect event when thrown by the library. */
- HANDLES_EVENT(USB_Connect);
-
- /** Indicates that this module will catch the USB_Disconnect event when thrown by the library. */
- HANDLES_EVENT(USB_Disconnect);
-
- /** Indicates that this module will catch the USB_ConfigurationChanged event when thrown by the library. */
- HANDLES_EVENT(USB_ConfigurationChanged);
-
/* Task Definitions: */
TASK(USB_HID_Report);
/* Function Prototypes: */
+ void EVENT_USB_Connect(void);
+ void EVENT_USB_Disconnect(void);
+ void EVENT_USB_ConfigurationChanged(void);
+ void EVENT_USB_UnhandledControlPacket(void);
+
void UpdateStatus(uint8_t CurrentStatus);
void ProcessGenericHIDReport(uint8_t* DataArray);
void CreateGenericHIDReport(uint8_t* DataArray);