From ef44b8c036daf4806a369dfdcd5adf72cf85b824 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Mon, 17 Jan 2011 23:11:13 +0000 Subject: Fixed incorrect definition of the HID_KEYBOARD_SC_RIGHT_ARROW constant in the HID class driver (thanks to Joby Taffey). Add in newHID_KEYBOARD_SC_POWER keyboard scancode constant. --- LUFA/Drivers/USB/Class/Common/HID.h | 5 +++-- LUFA/ManPages/ChangeLog.txt | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/LUFA/Drivers/USB/Class/Common/HID.h b/LUFA/Drivers/USB/Class/Common/HID.h index da2b64ef4..f92f8929c 100644 --- a/LUFA/Drivers/USB/Class/Common/HID.h +++ b/LUFA/Drivers/USB/Class/Common/HID.h @@ -184,7 +184,7 @@ #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 @@ -205,7 +205,8 @@ #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 diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt index 8116a5959..c708b3e76 100644 --- a/LUFA/ManPages/ChangeLog.txt +++ b/LUFA/ManPages/ChangeLog.txt @@ -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) -- cgit v1.2.3