Fixed incorrect definition of the HID_KEYBOARD_SC_RIGHT_ARROW constant in the HID...
authorDean Camera <dean@fourwalledcubicle.com>
Mon, 17 Jan 2011 23:11:13 +0000 (23:11 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Mon, 17 Jan 2011 23:11:13 +0000 (23:11 +0000)
Add in newHID_KEYBOARD_SC_POWER keyboard scancode constant.

LUFA/Drivers/USB/Class/Common/HID.h
LUFA/ManPages/ChangeLog.txt

index da2b64e..f92f892 100644 (file)
                #define HID_KEYBOARD_SC_DELETE                            0x4C
                #define HID_KEYBOARD_SC_END                               0x4D
                #define HID_KEYBOARD_SC_PAGE_DOWN                         0x4E
-               #define HID_KEYBOARD_SC_RIGHT_ARROW                       0xEF
+               #define HID_KEYBOARD_SC_RIGHT_ARROW                       0x4F
                #define HID_KEYBOARD_SC_LEFT_ARROW                        0x50
                #define HID_KEYBOARD_SC_DOWN_ARROW                        0x51
                #define HID_KEYBOARD_SC_UP_ARROW                          0x52
                #define HID_KEYBOARD_SC_KEYPAD_9_AND_PAGE_UP              0x61
                #define HID_KEYBOARD_SC_KEYPAD_0_AND_INSERT               0x62
                #define HID_KEYBOARD_SC_KEYPAD_DOT_AND_DELETE             0x63
-               #define HID_KEYBOARD_SC_NON_US_BACKSLASH_AND_PIPE         0x64
+               #define HID_KEYBOARD_SC_NON_US_BACKSLASH_AND_PIPE         0x64          
+               #define HID_KEYBOARD_SC_POWER                             0x66
                #define HID_KEYBOARD_SC_EQUAL_SIGN                        0x67
                #define HID_KEYBOARD_SC_F13                               0x68
                #define HID_KEYBOARD_SC_F14                               0x69
index 8116a59..c708b3e 100644 (file)
@@ -49,6 +49,7 @@
   *   - Fixed broken USBFOO board drivers due to missing BOARD_USBFOO define
   *   - Fixed HID host class driver incorrectly binding to HID devices that do not have an OUT endpoint
   *   - Fixed incorrect definition of the HID_KEYBOARD_SC_D constant in the HID class driver (thanks to Opendous Inc.)
+  *   - Fixed incorrect definition of the HID_KEYBOARD_SC_RIGHT_ARROW constant in the HID class driver (thanks to Joby Taffey)
   *   - Fixed incorrect endpoint initialisation order in the several device demos (thanks to Rick Drolet)
   *   - Fixed inverted Minimum board LEDs
   *   - Fixed incorrect byte ordering in the Audio_Device_WriteSample24 function (thanks to WZab)