• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..12-Jan-2018-

READMEH A D12-Jan-20181.9 KiB9055

keymaps.csvH A D12-Jan-201833.5 KiB540539

README

1This directory contains the raw data for mapping between different
2keyboard codes. Naming if often based on the US keyboard layout, but
3does not indicate the symbol actually generated by the key.
4
5The columns currently in this data set are:
6
7Linux
8-----
9
10Name and value of the hardware independent keycodes used by the linux
11kernel and exposed through the input subsystem.
12
13References: linux/input.h
14
15macOS
16-----
17
18Low level key codes as exposed by Mac OS X/macOS.
19
20References: Carbon/HIToolbox/Events.h
21
22PC scan code sets
23-----------------
24
25Scan codes for the three orignal PC keyboard generations:
26
27 Set 1: XT
28 Set 2: AT
29 Set 3: PS/2
30
31The sets include codes for modern keys as well and not just the keys
32present on those original keyboards.
33
34References: linux/drivers/input/keyboard/atkbd.c
35
36USB HID
37-------
38
39Codes as specified by the HID profile in USB.
40
41References: linux/drivers/hid/usbhid/usbkbd.c
42
43Windows Virtual-key codes
44-------------------------
45
46The low level, hardware independent "VKEYs" exposed by Windows.
47
48References: mingw32/winuser.h
49
50XWin XT
51-------
52
53X11 keycodes generated by the XWin server. Based on the XT scan code
54set.
55
56References: xorg-server/hw/xwin/{winkeybd.c,winkeynames.h}
57
58Xfree86 KBD XT
59--------------
60
61X11 keycodes generated by the Xfree86 keyboard drivers. Based on the XT
62scan code set.
63
64References: xf86-input-keyboard/src/at_scancode.c
65
66X11 keysyms
67-----------
68
69Corresponding X11 keysym value(s) for a US keyboard layout.
70
71WARNING: These columns represent symbols, not physical keys, and should
72         be used with extreme care.
73
74References: http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h
75
76HTML KeyboardEvent.code
77-----------------------
78
79Key codes seen in the KeyboardEvent.code attribute as part of the
80UI Events specification.
81
82References: https://www.w3.org/TR/uievents-code/
83
84XKEYBOARD key names
85-------------------
86
87Hardware independent key names as used in the XKEYBOARD extension.
88
89References: /usr/share/X11/xkb/keycodes/
90