1 This directory contains the raw data for mapping between different
2 keyboard codes. Naming if often based on the US keyboard layout, but
3 does not indicate the symbol actually generated by the key.
5 The columns currently in this data set are:
10 Name and value of the hardware independent keycodes used by the linux
11 kernel and exposed through the input subsystem.
13 References: linux/input.h
18 Low level key codes as exposed by Mac OS X/macOS.
20 References: Carbon/HIToolbox/Events.h
25 Scan codes for the three orignal PC keyboard generations:
31 The sets include codes for modern keys as well and not just the keys
32 present on those original keyboards.
34 References: linux/drivers/input/keyboard/atkbd.c
39 Codes as specified by the HID profile in USB.
41 References: linux/drivers/hid/usbhid/usbkbd.c
43 Windows Virtual-key codes
44 -------------------------
46 The low level, hardware independent "VKEYs" exposed by Windows.
48 References: mingw32/winuser.h
53 X11 keycodes generated by the XWin server. Based on the XT scan code
56 References: xorg-server/hw/xwin/{winkeybd.c,winkeynames.h}
61 X11 keycodes generated by the Xfree86 keyboard drivers. Based on the XT
64 References: xf86-input-keyboard/src/at_scancode.c
69 Corresponding X11 keysym value(s) for a US keyboard layout.
71 WARNING: These columns represent symbols, not physical keys, and should
72 be used with extreme care.
74 References: http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h
76 HTML KeyboardEvent.code
77 -----------------------
79 Key codes seen in the KeyboardEvent.code attribute as part of the
80 UI Events specification.
82 References: https://www.w3.org/TR/uievents-code/
87 Hardware independent key names as used in the XKEYBOARD extension.
89 References: /usr/share/X11/xkb/keycodes/