2 * Key codes from HID Keyboard/Keypad Page
3 * http://www.usb.org/developers/devclass_docs/Hut1_12.pdf
5 * Based on Keyboard Upgrade v0.3.0 http://github.com/rhomann/kbupgrade
8 * Keyboard Upgrade -- Firmware for homebrew computer keyboard controllers.
9 * Copyright (C) 2009 Robert Homann
11 * Based on RUMP (http://mg8.org/rump/), Copyright (C) 2008 Chris Lee
13 * Based on c64key (http://symlink.dk/projects/c64key/),
14 * Copyright (C) 2006-2007 Mikkel Holm Olsen
16 * Based on HID-Test by Christian Starkjohann, Objective Development
18 * This file is part of the Keyboard Upgrade package.
20 * This program is free software; you can redistribute it and/or modify
21 * it under the terms of the GNU General Public License as published by
22 * the Free Software Foundation; either version 2 of the License, or
23 * (at your option) any later version.
25 * This program is distributed in the hope that it will be useful, but
26 * WITHOUT ANY WARRANTY; without even the implied warranty of
27 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28 * GNU General Public License for more details.
30 * You should have received a copy of the GNU General Public License
31 * along with the Keyboard Upgrade package; if not, write to the
32 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
36 #ifndef USB_KEYCODES_H
37 #define USB_KEYCODES_H
90 KB_BSLASH, /* \ (and |) */
91 KB_NONUS_HASH, /* Non-US # and ~ */
92 KB_SCOLON, /* ; (and :) */
93 KB_QUOTE, /* ' and " */
94 KB_GRAVE, /* Grave accent and tilde */
95 KB_COMMA, /* , and < */
97 KB_SLASH, /* / and ? */
141 KB_NONUS_BSLASH, /* Non-US \ and | */
171 KB_LOCKING_CAPS, /* locking Caps Lock */
172 KB_LOCKING_NUM, /* locking Num Lock */
173 KB_LOCKING_SCROLL, /* locking Scroll Lock */
175 KP_EQUAL_AS400, /* equal sign on AS/400 */
209 KB_THOUSANDS_SEPARATOR,
210 KB_DECIMAL_SEPARATOR,
215 KP_LCBRACKET, /* { */
216 KP_RCBRACKET, /* } */
255 KB_LCTRL = 0xE0, /* 0x01 */
256 KB_LSHIFT, /* 0x02 */
260 KB_RSHIFT, /* 0x20 */
264 /* extensions for internal use */
288 #endif /* USB_KEYCODES_H */