KeyCodes
I din't know there to get the keycode table, so I had to make my own one.
I wrote the simple script
local function keydown(key)
echo(key)
end
add_hook("key_down", "keypressdown", keydown)
So here are the results of it's work, maybe someone else need it too
BACKSPACE 8
TAB 9
ENTER 13
PAUSE 19
ESC 27
SPACE 32
' 39
, 44
- 45
. 46
/ 47
0..9 48..57
; 59
= 61
[ 91
\ 92
] 93
~ 96
a..z 97..122
DELETE 127
NUM(0..9) 256
NUM(.) 266
NUM(/) 267
NUM(*) 268
NUM(-) 268
NUM(+) 270
NUM(ENTER) 271
INSERT 277
HOME 278
END 279
PGUP 280
PGDOWN 281
F1..F12 282..293
NUMLOCK 300
SCRLOCK 302
R_SHIFT 303
L_SHIFT 304
R_CTRL 305
L_CTRL 306
R_ALT 307
L_ALT 308
L_WINKEY 311
R_WINKEY 312
PRTSCR 316