Rewritten event system to remove all macros, to make user code clearer.
[pub/lufa.git] / Bootloaders / TeensyHID / TeensyHID.h
index ae180f7..0dd5852 100644 (file)
                #define REQ_SetReport             0x09\r
                \r
                #define TEENSY_STARTAPPLICATION   0xFFFF\r
-\r
-       /* Event Handlers: */\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
+       /* Function Prototypes: */\r
+               void EVENT_USB_ConfigurationChanged(void);\r
+               void EVENT_USB_UnhandledControlPacket(void);\r
                \r
 #endif\r