Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

Latest commit

 

History

History
196 lines (188 loc) · 3.79 KB

SYNTAX.md

File metadata and controls

196 lines (188 loc) · 3.79 KB

Syntax

keyCodes

input keyCode
0 48
1 49
2 50
3 51
4 52
5 53
6 54
7 55
8 56
9 57
8
backspace 8
9
9
tab 9
13
return 13
enter 13
13
pause 19
pause-break 19
20
caps 20
caps-lock 20
27
escape 27
esc 27
space 32
33
pgup 33
page-up 33
34
pgdown 34
page-down 34
35
end 35
36
home 36
ins 45
insert 45
46
del 46
delete 46
37
left 37
arrow-left 37
38
up 38
arrow-up 38
39
right 39
arrow-right 39
40
down 40
arrow-down 40
* 106
star 106
asterisk 106
multiply 106
+ 107
plus 107
- 109
subtract 109
; 186
semicolon 186
= 187
equals 187
, 188
comma 188
. 190
period 190
full-stop 190
/ 191
slash 191
forward-slash 191
` 192
tick 192
back-quote 192
[ 219
open-bracket 219
\ 220
back-slash 220
] 221
close-bracket 221
' 222
quote 222
apostrophe 222
num-0 96
num-1 97
num-2 98
num-3 99
num-4 100
num-5 101
num-6 102
num-7 103
num-8 104
num-9 105
f1 112
f2 113
f3 114
f4 115
f5 116
f6 117
f7 118
f8 119
f9 120
f10 121
f11 122
f12 123
f13 124
f14 125
f15 126
f16 127
f17 128
f18 129
f19 130
f20 131
f21 132
f22 133
f23 134
f24 135
@ 64
a 65
b 66
c 67
d 68
e 69
f 70
g 71
h 72
i 73
j 74
k 75
l 76
m 77
n 78
o 79
p 80
q 81
r 82
s 83
t 84
u 85
v 86
w 87
x 88
y 89
z 90

shift key combinations

input keyCode
~ shift + 192
! shift + 49
@ shift + 50
# shift + 51
$ shift + 52
% shift + 53
^ shift + 54
& shift + 55
* shift + 56
( shift + 57
) shift + 48
_ shift + 109
+ shift + 187
: shift + 186
" shift + 222
< shift + 188
> shift + 190
? shift + 191

modifiers

input keyCode
16
shift 16
17
ctrl 17
18
alt 18
option 18
91
meta 91
cmd 91
super 91
win 91