More AVR32 achitecture ports.
[pub/USBasp.git] / Demos / Device / LowLevel / KeyboardMouse / KeyboardMouse.h
index ff28314..7fcec97 100644 (file)
                /** Constant for a keyboard report modifier byte, indicating that the keyboard's right GUI key is currently pressed. */\r
                #define KEYBOARD_MODIFER_RIGHTGUI   (1 << 7)\r
 \r
+               /** Constant for a keyboard output report LED byte, indicating that the host's NUM LOCK mode is currently set. */\r
+               #define KEYBOARD_LED_NUMLOCK        (1 << 0)\r
+               \r
+               /** Constant for a keyboard output report LED byte, indicating that the host's CAPS LOCK mode is currently set. */\r
+               #define KEYBOARD_LED_CAPSLOCK       (1 << 1)\r
+\r
+               /** Constant for a keyboard output report LED byte, indicating that the host's SCROLL LOCK mode is currently set. */\r
+               #define KEYBOARD_LED_SCROLLLOCK     (1 << 2)\r
+\r
+               /** Constant for a keyboard output report LED byte, indicating that the host's KATANA mode is currently set. */\r
+               #define KEYBOARD_LED_KATANA         (1 << 3)\r
+\r
                /** LED mask for the library LED driver, to indicate that the USB interface is not ready. */\r
                #define LEDMASK_USB_NOTREADY        LEDS_LED1\r
 \r
                        \r
        /* Function Prototypes: */\r
                void SetupHardware(void);\r
+               void Keyboard_ProcessLEDReport(const uint8_t LEDStatus);\r
                void Keyboard_HID_Task(void);\r
                void Mouse_HID_Task(void);\r
                \r