X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/32f0f605efa293430a47d60bb857695ff6937d21..59becad82f18c158063ef450d65fefa332857e86:/Demos/Device/GenericHID/GenericHID.h?ds=inline 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);