summaryrefslogtreecommitdiff
path: root/keymap.in
blob: 04abfeca1d8915b371fa6ba80a45b3ecfcbeb071 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
101
102
103
104
105
106
107
108
109
110
111
112
113
# https://github.com/NicoHood/HID/blob/master/src/HID-APIs/ImprovedKeylayouts.h
# https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code
#
# ----------------------------------
#  KVMD    | Arduino HID       | JS
# ----------------------------------
1			KEY_A				KeyA
2			KEY_B				KeyB
3			KEY_C				KeyC
4			KEY_D				KeyD
5			KEY_E				KeyE
6			KEY_F				KeyF
7			KEY_G				KeyG
8			KEY_H				KeyH
9			KEY_I				KeyI
10			KEY_J				KeyJ
11			KEY_K				KeyK
12			KEY_L				KeyL
13			KEY_M				KeyM
14			KEY_N				KeyN
15			KEY_O				KeyO
16			KEY_P				KeyP
17			KEY_Q				KeyQ
18			KEY_R				KeyR
19			KEY_S				KeyS
20			KEY_T				KeyT
21			KEY_U				KeyU
22			KEY_V				KeyV
23			KEY_W				KeyW
24			KEY_X				KeyX
25			KEY_Y				KeyY
26			KEY_Z				KeyZ
27			KEY_1				Digit1
28			KEY_2				Digit2
29			KEY_3				Digit3
30			KEY_4				Digit4
31			KEY_5				Digit5
32			KEY_6				Digit6
33			KEY_7				Digit7
34			KEY_8				Digit8
35			KEY_9				Digit9
36			KEY_0				Digit0
37			KEY_ENTER			Enter
38			KEY_ESC				Escape
39			KEY_BACKSPACE		Backspace
40			KEY_TAB				Tab
41			KEY_SPACE			Space
42			KEY_MINUS			Minus
43			KEY_EQUAL			Equal
44			KEY_LEFT_BRACE		BracketLeft
45			KEY_RIGHT_BRACE		BracketRight
46			KEY_BACKSLASH		Backslash
47			KEY_SEMICOLON		Semicolon
48			KEY_QUOTE			Quote
49			KEY_TILDE			Backquote
50			KEY_COMMA			Comma
51			KEY_PERIOD			Period
52			KEY_SLASH			Slash
53			KEY_CAPS_LOCK		CapsLock
54			KEY_F1				F1
55			KEY_F2				F2
56			KEY_F3				F3
57			KEY_F4				F4
58			KEY_F5				F5
59			KEY_F6				F6
60			KEY_F7				F7
61			KEY_F8				F8
62			KEY_F9				F9
63			KEY_F10				F10
64			KEY_F11				F11
65			KEY_F12				F12
66			KEY_PRINT			PrintScreen
67			KEY_INSERT			Insert
68			KEY_HOME			Home
69			KEY_PAGE_UP			PageUp
70			KEY_DELETE			Delete
71			KEY_END				End
72			KEY_PAGE_DOWN		PageDown
73			KEY_RIGHT_ARROW		ArrowRight
74			KEY_LEFT_ARROW		ArrowLeft
75			KEY_DOWN_ARROW		ArrowDown
76			KEY_UP_ARROW		ArrowUp
77			KEY_LEFT_CTRL		ControlLeft
78			KEY_LEFT_SHIFT		ShiftLeft
79			KEY_LEFT_ALT		AltLeft
80			KEY_LEFT_GUI		MetaLeft
81			KEY_RIGHT_CTRL		ControlRight
82			KEY_RIGHT_SHIFT		ShiftRight
83			KEY_RIGHT_ALT		AltRight
84			KEY_RIGHT_GUI		MetaRight
85			KEY_PAUSE			Pause
86			KEY_SCROLL_LOCK		ScrollLock
#			KEY_NON_US_NUM
#			KEY_NUM_LOCK
#			KEYPAD_DIVIDE
#			KEYPAD_MULTIPLY
#			KEYPAD_SUBTRACT
#			KEYPAD_ADD
#			KEYPAD_ENTER
#			KEYPAD_1
#			KEYPAD_2
#			KEYPAD_3
#			KEYPAD_4
#			KEYPAD_5
#			KEYPAD_6
#			KEYPAD_7
#			KEYPAD_8
#			KEYPAD_9
#			KEYPAD_0
#			KEYPAD_DOT
#			KEY_NON_US
#			KEY_APPLICATION
#			KEY_MENU