Add new MIDI Host Class driver to the library, and new MIDIHost ClassDriver demo.
[pub/lufa.git] / Demos / Host / LowLevel / KeyboardHost / KeyboardHost.h
index aed6ca6..4c4356d 100644 (file)
@@ -47,6 +47,7 @@
                #include <LUFA/Version.h>\r
                #include <LUFA/Drivers/Misc/TerminalCodes.h>\r
                #include <LUFA/Drivers/USB/USB.h>\r
+               #include <LUFA/Drivers/USB/Class/HID.h>\r
                #include <LUFA/Drivers/Peripheral/SerialStream.h>\r
                #include <LUFA/Drivers/Board/LEDs.h>\r
                \r
                /** LED mask for the library LED driver, to indicate that an error has occurred in the USB interface. */\r
                #define LEDMASK_USB_ERROR        (LEDS_LED1 | LEDS_LED3)\r
 \r
-       /* Type Defines: */\r
-               /** Type define for a standard Boot Protocol Keyboard report */\r
-               typedef struct\r
-               {\r
-                       uint8_t Modifier; /**< Keyboard modifier byte, indicating pressed modifier keys (such as Shift, Control, etc.) */\r
-                       uint8_t RESERVED; /**< Reserved for OEM use, always set to 0 */\r
-                       uint8_t KeyCode; /**< Key code of the currently pressed key */\r
-               } USB_KeyboardReport_Data_t;\r
-\r
        /* Function Prototypes: */\r
                void Keyboard_HID_Task(void);\r
                void SetupHardware(void);\r