Keyboard Mapping Constants

DirectX8

Keyboard Mapping Constants
 
Microsoft DirectX 8.1 (C++)

Keyboard Mapping Constants

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

Constant Note
DIKEYBOARD_0 On main keyboard
DIKEYBOARD_1 On main keyboard
DIKEYBOARD_2 On main keyboard
DIKEYBOARD_3 On main keyboard
DIKEYBOARD_4 On main keyboard
DIKEYBOARD_5 On main keyboard
DIKEYBOARD_6 On main keyboard
DIKEYBOARD_7 On main keyboard
DIKEYBOARD_8 On main keyboard
DIKEYBOARD_9 On main keyboard
DIKEYBOARD_A
DIKEYBOARD_ABNT_C1 On numeric pad of Brazilian keyboards
DIKEYBOARD_ABNT_C2 On numeric pad of Brazilian keyboards
DIKEYBOARD_ADD PLUS SIGN (+) on numeric keypad
DIKEYBOARD_APOSTROPHE
DIKEYBOARD_APPS Application key
DIKEYBOARD_AT On Japanese keyboard
DIKEYBOARD_AX On Japanese keyboard
DIKEYBOARD_B
DIKEYBOARD_BACK BACKSPACE
DIKEYBOARD_BACKSLASH
DIKEYBOARD_C
DIKEYBOARD_CALCULATOR
DIKEYBOARD_CAPITAL CAPS LOCK
DIKEYBOARD_COLON On Japanese keyboard
DIKEYBOARD_COMMA
DIKEYBOARD_CONVERT On Japanese keyboard
DIKEYBOARD_D
DIKEYBOARD_DECIMAL PERIOD (decimal point) on numeric keypad
DIKEYBOARD_DELETE
DIKEYBOARD_DIVIDE Forward slash (/) on numeric keypad
DIKEYBOARD_DOWN DOWN ARROW
DIKEYBOARD_E
DIKEYBOARD_END
DIKEYBOARD_EQUALS On main keyboard
DIKEYBOARD_ESCAPE
DIKEYBOARD_F
DIKEYBOARD_F1
DIKEYBOARD_F2
DIKEYBOARD_F3
DIKEYBOARD_F4
DIKEYBOARD_F5
DIKEYBOARD_F6
DIKEYBOARD_F7
DIKEYBOARD_F8
DIKEYBOARD_F9
DIKEYBOARD_F10
DIKEYBOARD_F11
DIKEYBOARD_F12
DIKEYBOARD_F13 On NEC PC-98 Japanese keyboard
DIKEYBOARD_F14 On NEC PC-98 Japanese keyboard
DIKEYBOARD_F15 On NEC PC-98 Japanese keyboard
DIKEYBOARD_G  
DIKEYBOARD_GRAVE Grave accent (`)
DIKEYBOARD_H
DIKEYBOARD_HOME  
DIKEYBOARD_I
DIKEYBOARD_INSERT
DIKEYBOARD_J
DIKEYBOARD_K
DIKEYBOARD_KANA On Japanese keyboard
DIKEYBOARD_KANJI On Japanese keyboard
DIKEYBOARD_L
DIKEYBOARD_LBRACKET Left square bracket [
DIKEYBOARD_LCONTROL Left CTRL
DIKEYBOARD_LEFT LEFT ARROW
DIKEYBOARD_LMENU Left ALT
DIKEYBOARD_LSHIFT Left SHIFT
DIKEYBOARD_LWIN Left Microsoft® Windows® logo key
DIKEYBOARD_M
DIKEYBOARD_MAIL
DIKEYBOARD_MEDIASELECT Media Select key, which displays a selection of supported media players on the system
DIKEYBOARD_MEDIASTOP
DIKEYBOARD_MINUS On main keyboard
DIKEYBOARD_MULTIPLY Asterisk (*) on numeric keypad
DIKEYBOARD_MUTE
DIKEYBOARD_MYCOMPUTER
DIKEYBOARD_N
DIKEYBOARD_NEXT PAGE DOWN
DIKEYBOARD_NEXTTRACK Next track
DIKEYBOARD_NOCONVERT On Japanese keyboard
DIKEYBOARD_NUMLOCK
DIKEYBOARD_NUMPAD0
DIKEYBOARD_NUMPAD1
DIKEYBOARD_NUMPAD2
DIKEYBOARD_NUMPAD3
DIKEYBOARD_NUMPAD4
DIKEYBOARD_NUMPAD5
DIKEYBOARD_NUMPAD6
DIKEYBOARD_NUMPAD7
DIKEYBOARD_NUMPAD8
DIKEYBOARD_NUMPAD9
DIKEYBOARD_NUMPADCOMMA On numeric keypad of NEC PC-98 Japanese keyboard
DIKEYBOARD_NUMPADENTER  
DIKEYBOARD_NUMPADEQUALS On numeric keypad of NEC PC-98 Japanese keyboard
DIKEYBOARD_O
DIKEYBOARD_OEM_102 On British and German keyboards
DIKEYBOARD_P
DIKEYBOARD_PAUSE  
DIKEYBOARD_PERIOD On main keyboard
DIKEYBOARD_PLAYPAUSE
DIKEYBOARD_POWER
DIKEYBOARD_PREVTRACK Previous track; circumflex on Japanese keyboard
DIKEYBOARD_PRIOR PAGE UP
DIKEYBOARD_Q
DIKEYBOARD_R
DIKEYBOARD_RBRACKET Right square bracket ]
DIKEYBOARD_RCONTROL Right CTRL
DIKEYBOARD_RETURN ENTER on main keyboard
DIKEYBOARD_RIGHT RIGHT ARROW
DIKEYBOARD_RMENU Right ALT
DIKEYBOARD_RSHIFT Right SHIFT
DIKEYBOARD_RWIN Right Windows logo key
DIKEYBOARD_S
DIKEYBOARD_SCROLL SCROLL LOCK
DIKEYBOARD_SEMICOLON
DIKEYBOARD_SLASH Forward slash (/) on main keyboard
DIKEYBOARD_SLEEP
DIKEYBOARD_SPACE SPACEBAR
DIKEYBOARD_STOP On NEC PC-98 Japanese keyboard
DIKEYBOARD_SUBTRACT MINUS SIGN (-) on numeric keypad
DIKEYBOARD_SYSRQ
DIKEYBOARD_T
DIKEYBOARD_TAB
DIKEYBOARD_U
DIKEYBOARD_UNDERLINE On NEC PC-98 Japanese keyboard
DIKEYBOARD_UNLABELED On Japanese keyboard
DIKEYBOARD_UP UP ARROW
DIKEYBOARD_V
DIKEYBOARD_VOLUMEDOWN
DIKEYBOARD_VOLUMEUP
DIKEYBOARD_W
DIKEYBOARD_WAKE
DIKEYBOARD_WEBBACK
DIKEYBOARD_WEBFAVORITES Displays the Microsoft Internet Explorer Favorites list, the Windows Favorites folder, or the Netscape Bookmarks list.
DIKEYBOARD_WEBFORWARD
DIKEYBOARD_WEBHOME
DIKEYBOARD_WEBREFRESH
DIKEYBOARD_WEBSEARCH
DIKEYBOARD_WEBSTOP
DIKEYBOARD_X
DIKEYBOARD_Y
DIKEYBOARD_YEN On Japanese keyboard
DIKEYBOARD_Z