Key Codes Reference - Joshuatz.com
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

View only
 
ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
Key
2
=Added Data
3
4
5
Reference material
6
X11
7
https://www.cl.cam.ac.uk/~mgk25/ucs/keysymdef.h
8
My Regex to parse above - ^#define\s(.+)\s{5,}(0x[^\s\r\n]+) *(?:\/\*)* *([^\r\n\t*]*)[^\r\n\t]*$
9
10
QT
11
https://doc.qt.io/qt-5/qt.html#Key-enum
12
13
ASCII
14
https://www.ascii-code.com/
15
16
winapi::winuser (Windows API)
17
https://docs.microsoft.com/en-us/windows/desktop/inputdev/virtual-key-codes
18
19
CGEvents (kVK) (Mac/OSX) - note - best source is always events.h
20
https://github.com/phracker/MacOSX-SDKs/blob/9fc3ed0ad0345950ac25c28695b0427846eea966/MacOSX10.13.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Headers/Events.h
21
Regex to parse above - ^\s*([^\s]+)\s+=\s{0,1}([^\s\t,]+)[^\r\n]*$
22
https://chromium.googlesource.com/chromium/src/+/master/ui/events/keycodes/keyboard_code_conversion_mac.mm
23
https://stackoverflow.com/a/16125341
24
Prepared SQL
25
ASCII
https://gist.github.com/joshuatz/c24a7d20197e9ac8ef1cf8939b35de96
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Loading...