Keyboard Mapping
The following constants are used in the dwSemantic member of the DIACTION structure to map an action to a physical key.
typedef enum Keyboard_Mapping
{
DIKEYBOARD_0,
DIKEYBOARD_1,
DIKEYBOARD_2,
DIKEYBOARD_3,
DIKEYBOARD_4,
DIKEYBOARD_5,
DIKEYBOARD_6,
DIKEYBOARD_7,
DIKEYBOARD_8,
DIKEYBOARD_9,
DIKEYBOARD_A,
DIKEYBOARD_ABNT_C1,
DIKEYBOARD_ABNT_C2,
DIKEYBOARD_ADD,
DIKEYBOARD_APOSTROPHE,
DIKEYBOARD_APPS,
DIKEYBOARD_AT,
DIKEYBOARD_AX,
DIKEYBOARD_B,
DIKEYBOARD_BACK,
DIKEYBOARD_BACKSLASH,
DIKEYBOARD_C,
DIKEYBOARD_CALCULATOR,
DIKEYBOARD_CAPITAL,
DIKEYBOARD_COLON,
DIKEYBOARD_COMMA,
DIKEYBOARD_CONVERT,
DIKEYBOARD_D,
DIKEYBOARD_DECIMAL,
DIKEYBOARD_DELETE,
DIKEYBOARD_DIVIDE,
DIKEYBOARD_DOWN,
DIKEYBOARD_E,
DIKEYBOARD_END,
DIKEYBOARD_EQUALS,
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,
DIKEYBOARD_F14,
DIKEYBOARD_F15,
DIKEYBOARD_G,
DIKEYBOARD_GRAVE,
DIKEYBOARD_H,
DIKEYBOARD_HOME,
DIKEYBOARD_I,
DIKEYBOARD_INSERT,
DIKEYBOARD_J,
DIKEYBOARD_K,
DIKEYBOARD_KANA,
DIKEYBOARD_KANJI,
DIKEYBOARD_L,
DIKEYBOARD_LBRACKET,
DIKEYBOARD_LCONTROL,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KEYBOARD_U,
DIKEYBOARD_UNDERLINE,
DIKEYBOARD_UNLABELED,
DIKEYBOARD_UP,
DIKEYBOARD_V,
DIKEYBOARD_VOLUMEDOWN,
DIKEYBOARD_VOLUMEUP,
DIKEYBOARD_W,
DIKEYBOARD_WAKE,
DIKEYBOARD_WEBBACK,
DIKEYBOARD_WEBFAVORITES,
DIKEYBOARD_WEBFORWARD,
DIKEYBOARD_WEBHOME,
DIKEYBOARD_WEBREFRESH,
DIKEYBOARD_WEBSEARCH,
DIKEYBOARD_WEBSTOP,
DIKEYBOARD_X,
DIKEYBOARD_Y,
DIKEYBOARD_YEN,
DIKEYBOARD_Z,
} Keyboard Mapping, *LPKeyboard Mapping;
Constants
- 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 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