asawicki.info
asawicki.info › nosense › doc › devices › keyboard › key_codes.html
Key codes
Here are some codes of keyboard keys.
Rhydolabz
rhydolabz.com › documents › Hex Table for key board decoder.pdf pdf
Standard QWERTY Keyboard Decoder Key HEX Value • Esc 1B • F1- F12 F1-FC •
Standard QWERTY Keyboard Decoder · Key · HEX Value · • · Esc · 1B · • · F1- F12 · F1-FC · • · Prnt. Scr · 00 · • · Scrl Lck · Null · • · P/B · 00 · ------------------------------------------------------------------------------------------------------------------------ ...
ForeUI
foreui.com › articles › Key_Code_Table.htm
Key Code Table
Provide the list of key code that can be used in condition express.
Microsoft Learn
learn.microsoft.com › en-us › windows › win32 › inputdev › virtual-key-codes
Virtual-Key Codes (Winuser.h) - Win32 apps | Microsoft Learn
The following table shows the symbolic constant names, hexadecimal values, and mouse or keyboard equivalents for the virtual-key codes used by the system. The codes are listed in numeric order.
DocStore
docstore.mik.ua › orelly › webprog › DHTML_javascript › 0596004672_jvdhtmlckbk-app-b.html
Appendix B. Keyboard Key Code Values
Key codes are numeric values that correspond to physical keys on the keyboard but do not necessarily correspond to a particular character. For example, the A key on the keyboard produces the same key code when pressed, even though its character code might be 65 (uppercase A) or 97 (lowercase ...
O'Reilly
oreilly.com › library › view › javascript-dhtml › 9780596514082 › apb.html
B. Keyboard Key Code Values - JavaScript & DHTML Cookbook, 2nd Edition [Book]
August 8, 2007 - For example, the A key on the keyboard produces the same key code when pressed, even though its character code might be 65 (uppercase A)or 97 (lowercase a), depending on whether the Shift key is down at the same time. Key codes are not influenced by modifier keys. Character values (see Appendix A) may be read from the keypress event, while the key values, including navigation and function keys, are available from keydown and keyup events. The following table lists all keys on a typical U.S.
Author Danny Goodman
Published 2007
Pages 603
W3C
w3.org › 2002 › 09 › tests › keys.html
Keyboard Events and Codes
Enter some text with uppercase and lowercase letters:
GLFW
glfw.org › docs › 3.3 › group__keys.html
GLFW: Keyboard key tokens
These key codes are inspired by the USB HID Usage Tables v1.12 (p.
Top answer 1 of 3
56
Here's a list of keycodes that includes a way to look them up interactively.
2 of 3
7
I know this was asked awhile back, but I found a comprehensive list of the virtual keyboard key codes right in MSDN, for use in C/C++. This also includes the mouse events. Note it is different than the javascript key codes (I noticed it around the VK_OEM section).
Here's the link:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
Toptal
toptal.com › developers › keycode
JavaScript Key Code Event Tool | Toptal®
KeyCode.Info allows users to press any key and instantly get the JavaScript Key or Key Code KeyboardEvent. Check out the Tool and Event List.
W3C
w3.org › TR › uievents-code
UI Events KeyboardEvent code Values
April 22, 2025 - For these and other alternative modal keyboards, the key values "Alphanumeric", "CapsLock", "NumLock", and "SymbolLock" are RECOMMENDED for the keys which switch between different modes. This section defines a list of values which are appropriate for use as code values.
Alt Codes
alt-codes.net
Alt Codes List of Alt Key Codes Symbols
Alt Codes, the all alt codes list for special characters and special symbols. Learn how to use alt key codes.
Osfree
osfree.org › docs › cmdref › cmdref.2.0476.php
Key Codes and Scan Codes Table
2 49 2 33 120 2 @ 3 50 3 64 3 0 121 3 # 4 51 4 35 122 4 $ 5 52 5 36 123 5 % 6 53 6 37 124 6 ^ 7 54 7 94 7 30 125 7 & 8 55 8 38 126 8 * 9 56 9 42 127 9 ( 10 57 10 40 128 0 ) 11 48 11 41 129 - _ 12 45 12 95 12 31 130 = + 13 61 13 43 131 Backspace 14 8 14 8 14 127 14 Tab 15 9 15 0 148 0 165 Q 16 113 16 81 16 17 16 W 17 119 17 87 17 23 17 E 18 101 18 69 18 5 18 R 19 114 19 82 19 18 19 T 20 116 20 84 20 20 20 Y 21 121 21 89 21 25 21 U 22 117 22 85 22 21 22 I 23 105 23 73 23 9 23 O 24 111 24 79 24 15 24 P 25 112 25 80 25 16 25 [ { 26 91 26 123 26 27 26 ] } 27 93 27 125 27 29 27 Enter 28 13 28 13 28
QMK
docs.qmk.fm › keycodes_basic
Basic Keycodes | QMK Firmware
The basic set of keycodes are based on the HID Keyboard/Keypad Usage Page (0x07) with the exception of KC_NO, KC_TRNS and keycodes in the 0xA5-DF range.
Cherrytree
cherrytree.at › misc › vk.htm
Virtual-Key Codes - Cherry Tree
The following table shows the symbolic constant names, decimal values, and mouse or keyboard equivalents for the virtual-key codes used by the system. The codes are listed in numeric order.
Bohemia Interactive Community
community.bistudio.com › wiki › DIK_KeyCodes
DIK KeyCodes - Bohemia Interactive Community
February 13, 2026 - DIK codes are always accompanied by the state of the ⇧ Shift, Alt, and Ctrl keys. Any script can differentiate between e.g Q and Alt + Q. ... For parameters passed to key event handlers, see onKeyDown event handler. ... #include "\a3\ui_f\hpp\definedikcodes.inc" findDisplay 46 displayAddEventHandler ["KeyDown", { params ["_displayOrControl", "_key", "_shift", "_ctrl", "_alt"]; private _override = false; if (_key isEqualTo DIK_W) then // DIK_W = 17 = 0x11 { systemChat "You pressed W."; if (_shift) then { systemChat "You are not allowed to use Shift + W!"; _override = true; }; }; _override; }];
GCCTech
gcctech.org › csc › javascript › javascript_keycodes.htm
JavaScript Keycodes - GC Computer Technology
The keydown event occurs when the keyboard key is pressed, and it is followed at once by the execution of keypress event.