Keyboard Enumeration (Microsoft.DirectX.DirectInput)

The following constants are used in the dwSemantic member of the Diaction structure to map an action to a physical key.

Definition

Visual Basic Public Enum Keyboard
C# public enum Keyboard
C++ public enum class Keyboard
JScript public enum Keyboard

Members

Member Value Description
Sleep -2130705185
Next -2130705199 PAGE DOWN
Stop -2130705259 On NEC PC-98 Japanese keyboard
Convert -2130705287 On Japanese keyboard
Decimal -2130705325 PERIOD (decimal point) on numeric keypad
X -2130705363
Y -2130705387
Escape -2130705407
MediaSelect -2130705171 MEDIA SELECT key, which displays a selection of supported media players on the system
Mail -2130705172
MyComputer -2130705173
WebBack -2130705174
WebForward -2130705175
WebStop -2130705176
WebRefresh -2130705177
WebFavorites -2130705178 Displays the Microsoft Internet Explorer Favorites list, the Microsoft Windows® Favorites folder, or the Netscape Bookmarks list
WebSearch -2130705179
Wake -2130705181
Power -2130705186
Apps -2130705187 Application key
RightWindows -2130705188
LeftWindows -2130705189
Down -2130705200 DOWN ARROW
End -2130705201
Prior -2130705207 PAGE UP
Up -2130705208 UP ARROW
Home -2130705209
RightMenu -2130705224 Right ALT
SysRq -2130705225
Divide -2130705227 FORWARD SLASH (/) on numeric keypad
NumPadComma -2130705229 On numeric keypad of NEC PC-98 Japanese keyboard
WebHome -2130705230
VolumeUp -2130705232
VolumeDown -2130705234
MediaStop -2130705244
PlayPause -2130705246
Calculator -2130705247
Mute -2130705248
RightControl -2130705251
NumPadEnter -2130705252
NextTrack -2130705255 NEXT TRACK
Unlabeled -2130705257 On Japanese keyboard
AX -2130705258 On Japanese keyboard
Kanji -2130705260 On Japanese keyboard
Underline -2130705261 On NEC PC-98 Japanese keyboard
Colon -2130705262 On Japanese keyboard
At -2130705263 On Japanese keyboard
PrevTrack -2130705264 PREVIOUS TRACK; CIRCUMFLEX (^) on Japanese keyboard
NumPadEquals -2130705267
AbntC2 -2130705282 On numeric pad of Brazilian keyboards
Yen -2130705283 On Japanese keyboard
NoConvert -2130705285 On Japanese keyboard
AbntC1 -2130705293 On numeric pad of Brazilian keyboards
Kana -2130705296 On Japanese keyboard
F15 -2130705306 On NEC PC-98 Japanese keyboard
F14 -2130705307 On NEC PC-98 Japanese keyboard
F13 -2130705308 On NEC PC-98 Japanese keyboard
F12 -2130705320
F11 -2130705321
OEM102 -2130705322 On British and German keyboards
NumPad0 -2130705326
NumPad3 -2130705327
NumPad2 -2130705328
NumPad1 -2130705329
NumPad6 -2130705331
NumPad5 -2130705332
NumPad4 -2130705333
Subtract -2130705334 MINUS SIGN (-) on numeric keypad
NumPad9 -2130705335
NumPad8 -2130705336
NumPad7 -2130705337
Scroll -2130705338 SCROLL LOCK
Numlock -2130705339
F10 -2130705340
F9 -2130705341
F8 -2130705342
F7 -2130705343
F6 -2130705344
F5 -2130705345
F4 -2130705346
F3 -2130705347
F2 -2130705348
F1 -2130705349
Capital -2130705350 CAPS LOCK
Space -2130705351 SPACEBAR
LeftMenu -2130705352 Left ALT
Multiply -2130705353 ASTERISK (*) on numeric keypad
RightShift -2130705354 RIGHT ARROW
Slash -2130705355 FORWARD SLASH (/) on main keyboard
Period -2130705356 On main keyboard
Comma -2130705357
M -2130705358
N -2130705359
B -2130705360
V -2130705361
C -2130705362
Z -2130705364
BackSlash -2130705365
LeftShift -2130705366 LEFT ARROW
Grave -2130705367 GRAVE ACCENT (`)
Apostrophe -2130705368
SemiColon -2130705369
L -2130705370
K -2130705371
J -2130705372
H -2130705373
G -2130705374
F -2130705375
D -2130705376
S -2130705377
A -2130705378
LeftControl -2130705379
Return -2130705380 ENTER on main keyboard
RightBracket -2130705381
LeftBracket -2130705382
P -2130705383
O -2130705384
I -2130705385
U -2130705386
T -2130705388
R -2130705389
E -2130705390
W -2130705391
Tab -2130705393
Back -2130705394 BACKSPACE
Equals -2130705395 Returns a value indicating whether this instance is equal to a specified object.
Minus -2130705396 On main keyboard
D0 -2130705397 On main keyboard
D9 -2130705398 On main keyboard
D8 -2130705399 On main keyboard
D7 -2130705400 On main keyboard
D6 -2130705401 On main keyboard
D5 -2130705402 On main keyboard
D4 -2130705403 On main keyboard
D3 -2130705404 On main keyboard
D2 -2130705405 On main keyboard
D1 -2130705406 On main keyboard
Insert -2130705198 Inserts an element into the collection at the specified index.
Right -2130705203 RIGHT ARROW
Left -2130705205 LEFT ARROW
Pause -2130705211
Add -2130705330 PLUS SIGN (+) on numeric keypad
Delete -2130705197
Q -2130705392

Enumeration Information

Namespace Microsoft.DirectX.DirectInput
Assembly Microsoft.DirectX.DirectInput (microsoft.directx.directinput.dll)
Strong Name Microsoft.DirectX.DirectInput,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492