|
|
static constexpr const int | KEY_UNKNOWN = -1 |
| | Symbolic constant for an unknown key.
|
| |
|
static constexpr const int | KEY_NONE = 0 |
| | Not a real key, it will never be sent in events. Can be used in user code to represent a binding not bound to any keys.
|
| |
|
static constexpr const int | KEY_SPACE = 32 |
| | Space bar.
|
| |
|
static constexpr const int | KEY_APOSTROPHE = 39 |
| | Apostrophe key '
|
| |
|
static constexpr const int | KEY_COMMA = 44 |
| | Comma key ,
|
| |
|
static constexpr const int | KEY_MINUS = 45 |
| | Minus key -
|
| |
|
static constexpr const int | KEY_PERIOD = 46 |
| | Period key .
|
| |
|
static constexpr const int | KEY_SLASH = 47 |
| | Slash key /
|
| |
|
static constexpr const int | KEY_0 = 48 |
| | Numeric key 0 below function keys.
|
| |
|
static constexpr const int | KEY_1 = 49 |
| | Numeric key 1 below function keys.
|
| |
|
static constexpr const int | KEY_2 = 50 |
| | Numeric key 2 below function keys.
|
| |
|
static constexpr const int | KEY_3 = 51 |
| | Numeric key 3 below function keys.
|
| |
|
static constexpr const int | KEY_4 = 52 |
| | Numeric key 4 below function keys.
|
| |
|
static constexpr const int | KEY_5 = 53 |
| | Numeric key 5 below function keys.
|
| |
|
static constexpr const int | KEY_6 = 54 |
| | Numeric key 6 below function keys.
|
| |
|
static constexpr const int | KEY_7 = 55 |
| | Numeric key 7 below function keys.
|
| |
|
static constexpr const int | KEY_8 = 56 |
| | Numeric key 8 below function keys.
|
| |
|
static constexpr const int | KEY_9 = 57 |
| | Numeric key 9 below function keys.
|
| |
|
static constexpr const int | KEY_SEMICOLON = 59 |
| | Semicolon key ;
|
| |
|
static constexpr const int | KEY_EQUAL = 61 |
| | Equal key =
|
| |
|
static constexpr const int | KEY_A = 65 |
| |
|
static constexpr const int | KEY_B = 66 |
| |
|
static constexpr const int | KEY_C = 67 |
| |
|
static constexpr const int | KEY_D = 68 |
| |
|
static constexpr const int | KEY_E = 69 |
| |
|
static constexpr const int | KEY_F = 70 |
| |
|
static constexpr const int | KEY_G = 71 |
| |
|
static constexpr const int | KEY_H = 72 |
| |
|
static constexpr const int | KEY_I = 73 |
| |
|
static constexpr const int | KEY_J = 74 |
| |
|
static constexpr const int | KEY_K = 75 |
| |
|
static constexpr const int | KEY_L = 76 |
| |
|
static constexpr const int | KEY_M = 77 |
| |
|
static constexpr const int | KEY_N = 78 |
| |
|
static constexpr const int | KEY_O = 79 |
| |
|
static constexpr const int | KEY_P = 80 |
| |
|
static constexpr const int | KEY_Q = 81 |
| |
|
static constexpr const int | KEY_R = 82 |
| |
|
static constexpr const int | KEY_S = 83 |
| |
|
static constexpr const int | KEY_T = 84 |
| |
|
static constexpr const int | KEY_U = 85 |
| |
|
static constexpr const int | KEY_V = 86 |
| |
|
static constexpr const int | KEY_W = 87 |
| |
|
static constexpr const int | KEY_X = 88 |
| |
|
static constexpr const int | KEY_Y = 89 |
| |
|
static constexpr const int | KEY_Z = 90 |
| |
|
static constexpr const int | KEY_LEFT_BRACKET = 91 |
| |
|
static constexpr const int | KEY_BACKSLASH = 92 |
| | Backslash key \
|
| |
|
static constexpr const int | KEY_RIGHT_BRACKET = 93 |
| |
|
static constexpr const int | KEY_GRAVE_ACCENT = 96 |
| |
|
static constexpr const int | KEY_WORLD_1 = 161 |
| |
|
static constexpr const int | KEY_WORLD_2 = 162 |
| |
|
static constexpr const int | KEY_ESCAPE = 256 |
| |
|
static constexpr const int | KEY_ENTER = 257 |
| |
|
static constexpr const int | KEY_TAB = 258 |
| |
|
static constexpr const int | KEY_BACKSPACE = 259 |
| |
|
static constexpr const int | KEY_INSERT = 260 |
| |
|
static constexpr const int | KEY_DELETE = 261 |
| |
|
static constexpr const int | KEY_RIGHT = 262 |
| |
|
static constexpr const int | KEY_LEFT = 263 |
| |
|
static constexpr const int | KEY_DOWN = 264 |
| |
|
static constexpr const int | KEY_UP = 265 |
| |
|
static constexpr const int | KEY_PAGE_UP = 266 |
| |
|
static constexpr const int | KEY_PAGE_DOWN = 267 |
| |
|
static constexpr const int | KEY_HOME = 268 |
| |
|
static constexpr const int | KEY_END = 269 |
| |
|
static constexpr const int | KEY_CAPS_LOCK = 280 |
| |
|
static constexpr const int | KEY_SCROLL_LOCK = 281 |
| |
|
static constexpr const int | KEY_NUM_LOCK = 282 |
| |
|
static constexpr const int | KEY_PRINT_SCREEN = 283 |
| |
|
static constexpr const int | KEY_PAUSE = 284 |
| |
|
static constexpr const int | KEY_F1 = 290 |
| |
|
static constexpr const int | KEY_F2 = 291 |
| |
|
static constexpr const int | KEY_F3 = 292 |
| |
|
static constexpr const int | KEY_F4 = 293 |
| |
|
static constexpr const int | KEY_F5 = 294 |
| |
|
static constexpr const int | KEY_F6 = 295 |
| |
|
static constexpr const int | KEY_F7 = 296 |
| |
|
static constexpr const int | KEY_F8 = 297 |
| |
|
static constexpr const int | KEY_F9 = 298 |
| |
|
static constexpr const int | KEY_F10 = 299 |
| |
|
static constexpr const int | KEY_F11 = 300 |
| |
|
static constexpr const int | KEY_F12 = 301 |
| |
|
static constexpr const int | KEY_F13 = 302 |
| |
|
static constexpr const int | KEY_F14 = 303 |
| |
|
static constexpr const int | KEY_F15 = 304 |
| |
|
static constexpr const int | KEY_F16 = 305 |
| |
|
static constexpr const int | KEY_F17 = 306 |
| |
|
static constexpr const int | KEY_F18 = 307 |
| |
|
static constexpr const int | KEY_F19 = 308 |
| |
|
static constexpr const int | KEY_F20 = 309 |
| |
|
static constexpr const int | KEY_F21 = 310 |
| |
|
static constexpr const int | KEY_F22 = 311 |
| |
|
static constexpr const int | KEY_F23 = 312 |
| |
|
static constexpr const int | KEY_F24 = 313 |
| |
|
static constexpr const int | KEY_F25 = 314 |
| |
|
static constexpr const int | KEY_KP_0 = 320 |
| | Numeric key 0 on keypad.
|
| |
|
static constexpr const int | KEY_KP_1 = 321 |
| | Numeric key 1 on keypad.
|
| |
|
static constexpr const int | KEY_KP_2 = 322 |
| | Numeric key 2 on keypad.
|
| |
|
static constexpr const int | KEY_KP_3 = 323 |
| | Numeric key 3 on keypad.
|
| |
|
static constexpr const int | KEY_KP_4 = 324 |
| | Numeric key 4 on keypad.
|
| |
|
static constexpr const int | KEY_KP_5 = 325 |
| | Numeric key 5 on keypad.
|
| |
|
static constexpr const int | KEY_KP_6 = 326 |
| | Numeric key 6 on keypad.
|
| |
|
static constexpr const int | KEY_KP_7 = 327 |
| | Numeric key 7 on keypad.
|
| |
|
static constexpr const int | KEY_KP_8 = 328 |
| | Numeric key 8 on keypad.
|
| |
|
static constexpr const int | KEY_KP_9 = 329 |
| | Numeric key 9 on keypad.
|
| |
|
static constexpr const int | KEY_KP_DECIMAL = 330 |
| |
|
static constexpr const int | KEY_KP_DIVIDE = 331 |
| |
|
static constexpr const int | KEY_KP_MULTIPLY = 332 |
| |
|
static constexpr const int | KEY_KP_SUBTRACT = 333 |
| |
|
static constexpr const int | KEY_KP_ADD = 334 |
| |
|
static constexpr const int | KEY_KP_ENTER = 335 |
| |
|
static constexpr const int | KEY_KP_EQUAL = 336 |
| |
|
static constexpr const int | KEY_LEFT_SHIFT = 340 |
| |
|
static constexpr const int | KEY_LEFT_CONTROL = 341 |
| |
|
static constexpr const int | KEY_LEFT_ALT = 342 |
| |
|
static constexpr const int | KEY_LEFT_SUPER = 343 |
| | Left Super key, also known as the logo key.
|
| |
|
static constexpr const int | KEY_RIGHT_SHIFT = 344 |
| |
|
static constexpr const int | KEY_RIGHT_CONTROL = 345 |
| |
|
static constexpr const int | KEY_RIGHT_ALT = 346 |
| |
|
static constexpr const int | KEY_RIGHT_SUPER = 347 |
| | Right Super key, also known as the logo key.
|
| |
|
static constexpr const int | KEY_MENU = 348 |
| |
All keyboard keys
- Note
- Constants are same used by GLFW
Letter keys are assumed to be on a Qwerty keyboard e.g. If you are using an Azerty keyboard and you press the 'A' key, the event will contain 'KEY_Q'