Web SDK - VirtualKey

Home > rainway-sdk > VirtualKey

VirtualKey enum

An enum representing a "virtual key". That is, each member of this enum represents a _behavior_ a key on a keyboard may have (for example "the behavior of the Tab key"), regardless of the physical position of that key (for example "the squat, leftmost key underneath the number row").

This coincides with the Windows VirtualKey enum, but in the context of the Rainway Protocol it can be considered platform-independent, and peers should convert to/from it when generating/processing Rainway keyboard messages.

See: https://docs.microsoft.com/en-us/uwp/api/windows.system.virtualkey?view=winrt-19041

Signature:

export declare enum VirtualKey 

Enumeration Members

MemberValueDescription
A44
AbntC1147
AbntC2148
Add85
Apps72
Attn163
B45
Back2
BrowserBack122
BrowserFavorites127
BrowserForward123
BrowserHome128
BrowserRefresh124
BrowserSearch126
BrowserStop125
C46
Cancel1
CapsLock8
Clear5
CrSel164
D47
D034
D135
D236
D337
D438
D539
D640
D741
D842
D943
DeadCharProcessed172
Decimal88
Delete32
Divide89
Down26
E48
End21
Enter6
EraseEof166
Escape13
Execute29
ExSel165
F49
F190
F1099
F11100
F12101
F13102
F14103
F15104
F16105
F17106
F18107
F19108
F291
F20109
F21110
F22111
F23112
F24113
F392
F493
F594
F695
F796
F897
F998
FinalMode11
G50
H51
HangulMode9
HanjaMode12
Help33
Home22
I52
ImeAccept16
ImeConvert14
ImeModeChange17
ImeNonConvert15
ImeProcessed155
Insert31
J53
JunjaMode10
K54
L55
LaunchApplication1138
LaunchApplication2139
LaunchMail136
Left23
LeftAlt120
LeftCtrl118
LeftShift116
LineFeed4
LWin70
M56
MediaNextTrack132
MediaPlayPause135
MediaPreviousTrack133
MediaStop134
Multiply84
N57
NoName169
None0
NumLock114
NumPad074
NumPad175
NumPad276
NumPad377
NumPad478
NumPad579
NumPad680
NumPad781
NumPad882
NumPad983
O58
Oem1140
Oem102154
Oem2145
Oem3146
Oem4149
Oem5150
Oem6151
Oem7152
Oem8153
OemAttn157
OemAuto160
OemBackTab162
OemClear171
OemComma142
OemCopy159
OemEnlw161
OemFinish158
OemMinus143
OemPeriod144
OemPlus141
P59
Pa1170
PageDown20
PageUp19
Pause7
Play167
Print28
PrintScreen30
Q60
R61
Right25
RightAlt121
RightCtrl119
RightShift117
RWin71
S62
Scroll115
Select27
SelectMedia137
Separator86
Sleep73
Space18
Subtract87
System156
T63
Tab3
U64
Up24
V65
VolumeDown130
VolumeMute129
VolumeUp131
W66
X67
Y68
Z69
Zoom168