X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/72c2922e38a2dfd14eb2d8e3692171704b5508f4..2ee9fc707784e115d744dbc229bdc893f4bb6bc1:/Projects/Magstripe/Magstripe.h?ds=inline diff --git a/Projects/Magstripe/Magstripe.h b/Projects/Magstripe/Magstripe.h index 0393c3603..597bafd8e 100644 --- a/Projects/Magstripe/Magstripe.h +++ b/Projects/Magstripe/Magstripe.h @@ -99,21 +99,13 @@ uint8_t Reserved; /**< Reserved for OEM use, always set to 0 */ uint8_t KeyCode; /**< Key code array for pressed keys - up to six can be given simultaneously */ } USB_KeyboardReport_Data_t; - - /* 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); - - /** Indicates that this module will catch the USB_UnhandledControlPacket event when thrown by the library. */ - HANDLES_EVENT(USB_UnhandledControlPacket); - + /* Function Prototypes: */ + void EVENT_USB_Connect(void); + void EVENT_USB_Disconnect(void); + void EVENT_USB_ConfigurationChanged(void); + void EVENT_USB_UnhandledControlPacket(void); + bool GetNextReport(USB_KeyboardReport_Data_t* ReportData); void SendKey(USB_KeyboardReport_Data_t* KeyboardReportData, uint8_t Key); void Send(USB_KeyboardReport_Data_t* KeyboardReportData, bool SendReport);