Fixed Mouse and Keyboard device demos not acting in accordance with the HID specifica...
[pub/USBasp.git] / Demos / Device / Keyboard / Keyboard.h
index 76b7705..c737019 100644 (file)
@@ -54,6 +54,9 @@
                #include <LUFA/Drivers/Board/LEDs.h>         // LEDs driver\r
 \r
        /* Macros: */\r
+               /** Idle period indicating that reports should be sent only when the inputs have changed */\r
+               #define HID_IDLE_CHANGESONLY 0\r
+\r
                /** HID Class specific request to get the next HID report from the device. */\r
                #define REQ_GetReport      0x01\r
 \r
        /* Function Prototypes: */\r
                void CreateKeyboardReport(USB_KeyboardReport_Data_t* ReportData);\r
                void ProcessLEDReport(uint8_t LEDReport);\r
-               static inline void SendNextReport(void);\r
-               static inline void ReceiveNextReport(void);\r
+               void SendNextReport(void);\r
+               void ReceiveNextReport(void);\r
                void UpdateStatus(uint8_t CurrentStatus);\r
                \r
 #endif\r