WTnVT function keys scancodes

The WTnVT emulator translates the keyboard keys sequences (I/e: shift + Fx) in a unique 16 bits internal scancode (0x0001 to 0xFFFF)

 


FN No shift

F01   0x2070
F02   0x2071
F03   0x2072
F04   0x2073
F05   0x2074
F06   0x2075
F07   0x2076
F08   0x2077
F09   0x2078
F10   0x2079
F11   0x207A
F12   0x207B
F13   0x207C
F14   0x207D
F15   0x207E
F16   0x207F
F17   0x2080
F18   0x2081
F19   0x2082
F20   0x2083

FN With shift

F01   0x3070
F02   0x3071
F03   0x3072
F04   0x3073
F05   0x3074
F06   0x3075
F07   0x3076
F08   0x3077
F09   0x3078
F10   0x3079
F11   0x307A
F12   0x307B
F13   0x307C
F14   0x307D
F15   0x307E
F16   0x307F
F17   0x3080
F18   0x3081
F19   0x3082
F20   0x3083

Cursor Keys

VK_LEFT   0x1025
VK_UP     0x1026
VK_RIGHT  0x1027
VK_DOWN   0x1028

Up-Dn-end-home

VK_PRIOR     0x1021
VK_NEXT      0x1022
VK_END       0x1023
VK_HOME      0x1024
VK_INSERT    0x102D
VK_DELETE    0x102E

Control Keys

Ctl+A   0x0001
Ctl+B   0x0002
Ctl+C   0x0003
Ctl+D   0x0004
Ctl+E   0x0005
Ctl+F   0x0006
Ctl+G   0x0007
Ctl+H   0x0008
Ctl+I   0x0009
Ctl+J   0x000A
Ctl+K   0x000B
Ctl+L   0x000C
Ctl+M   0x000D
Ctl+N   0x000E
Ctl+O   0x000F
Ctl+P   0x0010
Ctl+Q   0x0011
Ctl+R   0x0012
Ctl+S   0x0013
Ctl+T   0x0014
Ctl+U   0x0015
Ctl+V   0x0016
Ctl+W   0x0017
Ctl+X   0x0018
Ctl+Y   0x0019
Ctl+Z   0x001A
Sidebar