Loading...
Searching...
No Matches
Keycodes.h
Go to the documentation of this file.
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __IRR_KEY_CODES_H_INCLUDED__
#define __IRR_KEY_CODES_H_INCLUDED__
namespace irr
{
enum EKEY_CODE
{
KEY_LBUTTON = 0x01, // Left mouse button
KEY_RBUTTON = 0x02, // Right mouse button
KEY_CANCEL = 0x03, // Control-break processing
KEY_MBUTTON = 0x04, // Middle mouse button (three-button mouse)
KEY_XBUTTON1 = 0x05, // Windows 2000/XP: X1 mouse button
KEY_XBUTTON2 = 0x06, // Windows 2000/XP: X2 mouse button
KEY_BACK = 0x08, // BACKSPACE key
KEY_TAB = 0x09, // TAB key
KEY_CLEAR = 0x0C, // CLEAR key
KEY_RETURN = 0x0D, // ENTER key
KEY_SHIFT = 0x10, // SHIFT key
KEY_CONTROL = 0x11, // CTRL key
KEY_MENU = 0x12, // ALT key
KEY_PAUSE = 0x13, // PAUSE key
KEY_CAPITAL = 0x14, // CAPS LOCK key
KEY_KANA = 0x15, // IME Kana mode
KEY_HANGUEL = 0x15, // IME Hanguel mode (maintained for compatibility use KEY_HANGUL)
KEY_HANGUL = 0x15, // IME Hangul mode
KEY_JUNJA = 0x17, // IME Junja mode
KEY_FINAL = 0x18, // IME final mode
KEY_HANJA = 0x19, // IME Hanja mode
KEY_KANJI = 0x19, // IME Kanji mode
KEY_ESCAPE = 0x1B, // ESC key
KEY_CONVERT = 0x1C, // IME convert
KEY_NONCONVERT = 0x1D, // IME nonconvert
KEY_ACCEPT = 0x1E, // IME accept
KEY_MODECHANGE = 0x1F, // IME mode change request
KEY_SPACE = 0x20, // SPACEBAR
KEY_PRIOR = 0x21, // PAGE UP key
KEY_NEXT = 0x22, // PAGE DOWN key
KEY_END = 0x23, // END key
KEY_HOME = 0x24, // HOME key
KEY_LEFT = 0x25, // LEFT ARROW key
KEY_UP = 0x26, // UP ARROW key
KEY_RIGHT = 0x27, // RIGHT ARROW key
KEY_DOWN = 0x28, // DOWN ARROW key
KEY_SELECT = 0x29, // SELECT key
KEY_PRINT = 0x2A, // PRINT key
KEY_EXECUT = 0x2B, // EXECUTE key
KEY_SNAPSHOT = 0x2C, // PRINT SCREEN key
KEY_INSERT = 0x2D, // INS key
KEY_DELETE = 0x2E, // DEL key
KEY_HELP = 0x2F, // HELP key
KEY_KEY_0 = 0x30, // 0 key
KEY_KEY_1 = 0x31, // 1 key
KEY_KEY_2 = 0x32, // 2 key
KEY_KEY_3 = 0x33, // 3 key
KEY_KEY_4 = 0x34, // 4 key
KEY_KEY_5 = 0x35, // 5 key
KEY_KEY_6 = 0x36, // 6 key
KEY_KEY_7 = 0x37, // 7 key
KEY_KEY_8 = 0x38, // 8 key
KEY_KEY_9 = 0x39, // 9 key
KEY_KEY_A = 0x41, // A key
KEY_KEY_B = 0x42, // B key
KEY_KEY_C = 0x43, // C key
KEY_KEY_D = 0x44, // D key
KEY_KEY_E = 0x45, // E key
KEY_KEY_F = 0x46, // F key
KEY_KEY_G = 0x47, // G key
KEY_KEY_H = 0x48, // H key
KEY_KEY_I = 0x49, // I key
KEY_KEY_J = 0x4A, // J key
KEY_KEY_K = 0x4B, // K key
KEY_KEY_L = 0x4C, // L key
KEY_KEY_M = 0x4D, // M key
KEY_KEY_N = 0x4E, // N key
KEY_KEY_O = 0x4F, // O key
KEY_KEY_P = 0x50, // P key
KEY_KEY_Q = 0x51, // Q key
KEY_KEY_R = 0x52, // R key
KEY_KEY_S = 0x53, // S key
KEY_KEY_T = 0x54, // T key
KEY_KEY_U = 0x55, // U key
KEY_KEY_V = 0x56, // V key
KEY_KEY_W = 0x57, // W key
KEY_KEY_X = 0x58, // X key
KEY_KEY_Y = 0x59, // Y key
KEY_KEY_Z = 0x5A, // Z key
KEY_LWIN = 0x5B, // Left Windows key (Microsoft® Natural® keyboard)
KEY_RWIN = 0x5C, // Right Windows key (Natural keyboard)
KEY_APPS = 0x5D, // Applications key (Natural keyboard)
KEY_SLEEP = 0x5F, // Computer Sleep key
KEY_NUMPAD0 = 0x60, // Numeric keypad 0 key
KEY_NUMPAD1 = 0x61, // Numeric keypad 1 key
KEY_NUMPAD2 = 0x62, // Numeric keypad 2 key
KEY_NUMPAD3 = 0x63, // Numeric keypad 3 key
KEY_NUMPAD4 = 0x64, // Numeric keypad 4 key
KEY_NUMPAD5 = 0x65, // Numeric keypad 5 key
KEY_NUMPAD6 = 0x66, // Numeric keypad 6 key
KEY_NUMPAD7 = 0x67, // Numeric keypad 7 key
KEY_NUMPAD8 = 0x68, // Numeric keypad 8 key
KEY_NUMPAD9 = 0x69, // Numeric keypad 9 key
KEY_MULTIPLY = 0x6A, // Multiply key
KEY_ADD = 0x6B, // Add key
KEY_SEPARATOR = 0x6C, // Separator key
KEY_SUBTRACT = 0x6D, // Subtract key
KEY_DECIMAL = 0x6E, // Decimal key
KEY_DIVIDE = 0x6F, // Divide key
KEY_F1 = 0x70, // F1 key
KEY_F2 = 0x71, // F2 key
KEY_F3 = 0x72, // F3 key
KEY_F4 = 0x73, // F4 key
KEY_F5 = 0x74, // F5 key
KEY_F6 = 0x75, // F6 key
KEY_F7 = 0x76, // F7 key
KEY_F8 = 0x77, // F8 key
KEY_F9 = 0x78, // F9 key
KEY_F10 = 0x79, // F10 key
KEY_F11 = 0x7A, // F11 key
KEY_F12 = 0x7B, // F12 key
KEY_F13 = 0x7C, // F13 key
KEY_F14 = 0x7D, // F14 key
KEY_F15 = 0x7E, // F15 key
KEY_F16 = 0x7F, // F16 key
KEY_F17 = 0x80, // F17 key
KEY_F18 = 0x81, // F18 key
KEY_F19 = 0x82, // F19 key
KEY_F20 = 0x83, // F20 key
KEY_F21 = 0x84, // F21 key
KEY_F22 = 0x85, // F22 key
KEY_F23 = 0x86, // F23 key
KEY_F24 = 0x87, // F24 key
KEY_NUMLOCK = 0x90, // NUM LOCK key
KEY_SCROLL = 0x91, // SCROLL LOCK key
KEY_LSHIFT = 0xA0, // Left SHIFT key
KEY_RSHIFT = 0xA1, // Right SHIFT key
KEY_LCONTROL = 0xA2, // Left CONTROL key
KEY_RCONTROL = 0xA3, // Right CONTROL key
KEY_LMENU = 0xA4, // Left MENU key
KEY_RMENU = 0xA5, // Right MENU key
KEY_OEM_1 = 0xBA, // for US ";:"
KEY_PLUS = 0xBB, // Plus Key "+"
KEY_COMMA = 0xBC, // Comma Key ","
KEY_MINUS = 0xBD, // Minus Key "-"
KEY_PERIOD = 0xBE, // Period Key "."
KEY_OEM_2 = 0xBF, // for US "/?"
KEY_OEM_3 = 0xC0, // for US "`~"
KEY_OEM_4 = 0xDB, // for US "[{"
KEY_OEM_5 = 0xDC, // for US "\|"
KEY_OEM_6 = 0xDD, // for US "]}"
KEY_OEM_7 = 0xDE, // for US "'""
KEY_OEM_8 = 0xDF, // None
KEY_OEM_AX = 0xE1, // for Japan "AX"
KEY_OEM_102 = 0xE2, // "<>" or "\|"
KEY_ATTN = 0xF6, // Attn key
KEY_CRSEL = 0xF7, // CrSel key
KEY_EXSEL = 0xF8, // ExSel key
KEY_EREOF = 0xF9, // Erase EOF key
KEY_PLAY = 0xFA, // Play key
KEY_ZOOM = 0xFB, // Zoom key
KEY_PA1 = 0xFD, // PA1 key
KEY_OEM_CLEAR = 0xFE, // Clear key
KEY_NONE = 0xFF, // usually no key mapping, but some laptops use it for fn key
KEY_KEY_CODES_COUNT = 0x100 // this is not a key, but the amount of keycodes there are.
};
} // end namespace irr
#endif
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
irr::EKEY_CODE
EKEY_CODE
Definition Keycodes.h:12
irr::KEY_PRIOR
@ KEY_PRIOR
Definition Keycodes.h:41
irr::KEY_RSHIFT
@ KEY_RSHIFT
Definition Keycodes.h:139
irr::KEY_PLUS
@ KEY_PLUS
Definition Keycodes.h:145
irr::KEY_RBUTTON
@ KEY_RBUTTON
Definition Keycodes.h:14
irr::KEY_F21
@ KEY_F21
Definition Keycodes.h:132
irr::KEY_NUMPAD6
@ KEY_NUMPAD6
Definition Keycodes.h:102
irr::KEY_EREOF
@ KEY_EREOF
Definition Keycodes.h:161
irr::KEY_NONCONVERT
@ KEY_NONCONVERT
Definition Keycodes.h:37
irr::KEY_NUMPAD5
@ KEY_NUMPAD5
Definition Keycodes.h:101
irr::KEY_KEY_Q
@ KEY_KEY_Q
Definition Keycodes.h:82
irr::KEY_LMENU
@ KEY_LMENU
Definition Keycodes.h:142
irr::KEY_ATTN
@ KEY_ATTN
Definition Keycodes.h:158
irr::KEY_OEM_AX
@ KEY_OEM_AX
Definition Keycodes.h:156
irr::KEY_KEY_0
@ KEY_KEY_0
Definition Keycodes.h:56
irr::KEY_F17
@ KEY_F17
Definition Keycodes.h:128
irr::KEY_KEY_CODES_COUNT
@ KEY_KEY_CODES_COUNT
Definition Keycodes.h:168
irr::KEY_F14
@ KEY_F14
Definition Keycodes.h:125
irr::KEY_COMMA
@ KEY_COMMA
Definition Keycodes.h:146
irr::KEY_F3
@ KEY_F3
Definition Keycodes.h:114
irr::KEY_KEY_A
@ KEY_KEY_A
Definition Keycodes.h:66
irr::KEY_KEY_J
@ KEY_KEY_J
Definition Keycodes.h:75
irr::KEY_NUMPAD8
@ KEY_NUMPAD8
Definition Keycodes.h:104
irr::KEY_RMENU
@ KEY_RMENU
Definition Keycodes.h:143
irr::KEY_KEY_K
@ KEY_KEY_K
Definition Keycodes.h:76
irr::KEY_BACK
@ KEY_BACK
Definition Keycodes.h:19
irr::KEY_LCONTROL
@ KEY_LCONTROL
Definition Keycodes.h:140
irr::KEY_NUMPAD3
@ KEY_NUMPAD3
Definition Keycodes.h:99
irr::KEY_HANJA
@ KEY_HANJA
Definition Keycodes.h:33
irr::KEY_NUMLOCK
@ KEY_NUMLOCK
Definition Keycodes.h:136
irr::KEY_MINUS
@ KEY_MINUS
Definition Keycodes.h:147
irr::KEY_KEY_H
@ KEY_KEY_H
Definition Keycodes.h:73
irr::KEY_OEM_102
@ KEY_OEM_102
Definition Keycodes.h:157
irr::KEY_MULTIPLY
@ KEY_MULTIPLY
Definition Keycodes.h:106
irr::KEY_DECIMAL
@ KEY_DECIMAL
Definition Keycodes.h:110
irr::KEY_KEY_Z
@ KEY_KEY_Z
Definition Keycodes.h:91
irr::KEY_DELETE
@ KEY_DELETE
Definition Keycodes.h:54
irr::KEY_NUMPAD4
@ KEY_NUMPAD4
Definition Keycodes.h:100
irr::KEY_KANJI
@ KEY_KANJI
Definition Keycodes.h:34
irr::KEY_F8
@ KEY_F8
Definition Keycodes.h:119
irr::KEY_ZOOM
@ KEY_ZOOM
Definition Keycodes.h:163
irr::KEY_SPACE
@ KEY_SPACE
Definition Keycodes.h:40
irr::KEY_KEY_P
@ KEY_KEY_P
Definition Keycodes.h:81
irr::KEY_F1
@ KEY_F1
Definition Keycodes.h:112
irr::KEY_F18
@ KEY_F18
Definition Keycodes.h:129
irr::KEY_OEM_4
@ KEY_OEM_4
Definition Keycodes.h:151
irr::KEY_KEY_3
@ KEY_KEY_3
Definition Keycodes.h:59
irr::KEY_SEPARATOR
@ KEY_SEPARATOR
Definition Keycodes.h:108
irr::KEY_KEY_V
@ KEY_KEY_V
Definition Keycodes.h:87
irr::KEY_F9
@ KEY_F9
Definition Keycodes.h:120
irr::KEY_KEY_I
@ KEY_KEY_I
Definition Keycodes.h:74
irr::KEY_KEY_1
@ KEY_KEY_1
Definition Keycodes.h:57
irr::KEY_F15
@ KEY_F15
Definition Keycodes.h:126
irr::KEY_APPS
@ KEY_APPS
Definition Keycodes.h:94
irr::KEY_KEY_9
@ KEY_KEY_9
Definition Keycodes.h:65
irr::KEY_RCONTROL
@ KEY_RCONTROL
Definition Keycodes.h:141
irr::KEY_INSERT
@ KEY_INSERT
Definition Keycodes.h:53
irr::KEY_OEM_8
@ KEY_OEM_8
Definition Keycodes.h:155
irr::KEY_MENU
@ KEY_MENU
Definition Keycodes.h:25
irr::KEY_SHIFT
@ KEY_SHIFT
Definition Keycodes.h:23
irr::KEY_KEY_R
@ KEY_KEY_R
Definition Keycodes.h:83
irr::KEY_F5
@ KEY_F5
Definition Keycodes.h:116
irr::KEY_NONE
@ KEY_NONE
Definition Keycodes.h:166
irr::KEY_F6
@ KEY_F6
Definition Keycodes.h:117
irr::KEY_SNAPSHOT
@ KEY_SNAPSHOT
Definition Keycodes.h:52
irr::KEY_OEM_7
@ KEY_OEM_7
Definition Keycodes.h:154
irr::KEY_LEFT
@ KEY_LEFT
Definition Keycodes.h:45
irr::KEY_KEY_Y
@ KEY_KEY_Y
Definition Keycodes.h:90
irr::KEY_CANCEL
@ KEY_CANCEL
Definition Keycodes.h:15
irr::KEY_OEM_3
@ KEY_OEM_3
Definition Keycodes.h:150
irr::KEY_CONTROL
@ KEY_CONTROL
Definition Keycodes.h:24
irr::KEY_OEM_6
@ KEY_OEM_6
Definition Keycodes.h:153
irr::KEY_XBUTTON2
@ KEY_XBUTTON2
Definition Keycodes.h:18
irr::KEY_HELP
@ KEY_HELP
Definition Keycodes.h:55
irr::KEY_F7
@ KEY_F7
Definition Keycodes.h:118
irr::KEY_END
@ KEY_END
Definition Keycodes.h:43
irr::KEY_F22
@ KEY_F22
Definition Keycodes.h:133
irr::KEY_KEY_C
@ KEY_KEY_C
Definition Keycodes.h:68
irr::KEY_KEY_M
@ KEY_KEY_M
Definition Keycodes.h:78
irr::KEY_KEY_N
@ KEY_KEY_N
Definition Keycodes.h:79
irr::KEY_PRINT
@ KEY_PRINT
Definition Keycodes.h:50
irr::KEY_LWIN
@ KEY_LWIN
Definition Keycodes.h:92
irr::KEY_F4
@ KEY_F4
Definition Keycodes.h:115
irr::KEY_KEY_8
@ KEY_KEY_8
Definition Keycodes.h:64
irr::KEY_KEY_F
@ KEY_KEY_F
Definition Keycodes.h:71
irr::KEY_HANGUEL
@ KEY_HANGUEL
Definition Keycodes.h:29
irr::KEY_TAB
@ KEY_TAB
Definition Keycodes.h:20
irr::KEY_CLEAR
@ KEY_CLEAR
Definition Keycodes.h:21
irr::KEY_KEY_6
@ KEY_KEY_6
Definition Keycodes.h:62
irr::KEY_CONVERT
@ KEY_CONVERT
Definition Keycodes.h:36
irr::KEY_F2
@ KEY_F2
Definition Keycodes.h:113
irr::KEY_F10
@ KEY_F10
Definition Keycodes.h:121
irr::KEY_RETURN
@ KEY_RETURN
Definition Keycodes.h:22
irr::KEY_PERIOD
@ KEY_PERIOD
Definition Keycodes.h:148
irr::KEY_MODECHANGE
@ KEY_MODECHANGE
Definition Keycodes.h:39
irr::KEY_F20
@ KEY_F20
Definition Keycodes.h:131
irr::KEY_KEY_2
@ KEY_KEY_2
Definition Keycodes.h:58
irr::KEY_ADD
@ KEY_ADD
Definition Keycodes.h:107
irr::KEY_F24
@ KEY_F24
Definition Keycodes.h:135
irr::KEY_ESCAPE
@ KEY_ESCAPE
Definition Keycodes.h:35
irr::KEY_LSHIFT
@ KEY_LSHIFT
Definition Keycodes.h:138
irr::KEY_HANGUL
@ KEY_HANGUL
Definition Keycodes.h:30
irr::KEY_KEY_G
@ KEY_KEY_G
Definition Keycodes.h:72
irr::KEY_XBUTTON1
@ KEY_XBUTTON1
Definition Keycodes.h:17
irr::KEY_NUMPAD9
@ KEY_NUMPAD9
Definition Keycodes.h:105
irr::KEY_OEM_1
@ KEY_OEM_1
Definition Keycodes.h:144
irr::KEY_SUBTRACT
@ KEY_SUBTRACT
Definition Keycodes.h:109
irr::KEY_FINAL
@ KEY_FINAL
Definition Keycodes.h:32
irr::KEY_LBUTTON
@ KEY_LBUTTON
Definition Keycodes.h:13
irr::KEY_KEY_7
@ KEY_KEY_7
Definition Keycodes.h:63
irr::KEY_NUMPAD2
@ KEY_NUMPAD2
Definition Keycodes.h:98
irr::KEY_DIVIDE
@ KEY_DIVIDE
Definition Keycodes.h:111
irr::KEY_NEXT
@ KEY_NEXT
Definition Keycodes.h:42
irr::KEY_MBUTTON
@ KEY_MBUTTON
Definition Keycodes.h:16
irr::KEY_SCROLL
@ KEY_SCROLL
Definition Keycodes.h:137
irr::KEY_KANA
@ KEY_KANA
Definition Keycodes.h:28
irr::KEY_KEY_U
@ KEY_KEY_U
Definition Keycodes.h:86
irr::KEY_SLEEP
@ KEY_SLEEP
Definition Keycodes.h:95
irr::KEY_DOWN
@ KEY_DOWN
Definition Keycodes.h:48
irr::KEY_NUMPAD1
@ KEY_NUMPAD1
Definition Keycodes.h:97
irr::KEY_EXSEL
@ KEY_EXSEL
Definition Keycodes.h:160
irr::KEY_HOME
@ KEY_HOME
Definition Keycodes.h:44
irr::KEY_F13
@ KEY_F13
Definition Keycodes.h:124
irr::KEY_KEY_X
@ KEY_KEY_X
Definition Keycodes.h:89
irr::KEY_ACCEPT
@ KEY_ACCEPT
Definition Keycodes.h:38
irr::KEY_KEY_D
@ KEY_KEY_D
Definition Keycodes.h:69
irr::KEY_PA1
@ KEY_PA1
Definition Keycodes.h:164
irr::KEY_F12
@ KEY_F12
Definition Keycodes.h:123
irr::KEY_OEM_5
@ KEY_OEM_5
Definition Keycodes.h:152
irr::KEY_SELECT
@ KEY_SELECT
Definition Keycodes.h:49
irr::KEY_EXECUT
@ KEY_EXECUT
Definition Keycodes.h:51
irr::KEY_F23
@ KEY_F23
Definition Keycodes.h:134
irr::KEY_OEM_2
@ KEY_OEM_2
Definition Keycodes.h:149
irr::KEY_PAUSE
@ KEY_PAUSE
Definition Keycodes.h:26
irr::KEY_CAPITAL
@ KEY_CAPITAL
Definition Keycodes.h:27
irr::KEY_KEY_L
@ KEY_KEY_L
Definition Keycodes.h:77
irr::KEY_KEY_4
@ KEY_KEY_4
Definition Keycodes.h:60
irr::KEY_F19
@ KEY_F19
Definition Keycodes.h:130
irr::KEY_UP
@ KEY_UP
Definition Keycodes.h:46
irr::KEY_OEM_CLEAR
@ KEY_OEM_CLEAR
Definition Keycodes.h:165
irr::KEY_KEY_O
@ KEY_KEY_O
Definition Keycodes.h:80
irr::KEY_KEY_S
@ KEY_KEY_S
Definition Keycodes.h:84
irr::KEY_KEY_W
@ KEY_KEY_W
Definition Keycodes.h:88
irr::KEY_CRSEL
@ KEY_CRSEL
Definition Keycodes.h:159
irr::KEY_NUMPAD7
@ KEY_NUMPAD7
Definition Keycodes.h:103
irr::KEY_RIGHT
@ KEY_RIGHT
Definition Keycodes.h:47
irr::KEY_PLAY
@ KEY_PLAY
Definition Keycodes.h:162
irr::KEY_NUMPAD0
@ KEY_NUMPAD0
Definition Keycodes.h:96
irr::KEY_KEY_E
@ KEY_KEY_E
Definition Keycodes.h:70
irr::KEY_RWIN
@ KEY_RWIN
Definition Keycodes.h:93
irr::KEY_F16
@ KEY_F16
Definition Keycodes.h:127
irr::KEY_KEY_T
@ KEY_KEY_T
Definition Keycodes.h:85
irr::KEY_F11
@ KEY_F11
Definition Keycodes.h:122
irr::KEY_KEY_5
@ KEY_KEY_5
Definition Keycodes.h:61
irr::KEY_JUNJA
@ KEY_JUNJA
Definition Keycodes.h:31
irr::KEY_KEY_B
@ KEY_KEY_B
Definition Keycodes.h:67
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0