![]() |
Gorgon Game Engine
|
Functions | |
std::string | GetName (Key key) |
Returns the name of the key. More... | |
constexpr bool | IsEnter (Key key) |
Returns if the key is an enter key. More... | |
constexpr bool | IsModifier (Key key) |
Returns if the given key is a known modifier. More... | |
Variables | |
constexpr Key | A |
constexpr Key | Alt |
constexpr Key | B |
constexpr Key | Backspace |
constexpr Key | C |
constexpr Key | CapsLock |
constexpr Key | Control |
constexpr Key | D |
constexpr Key | Delete |
constexpr Key | Down |
constexpr Key | E |
constexpr Key | End |
constexpr Key | Enter |
constexpr Key | Escape |
constexpr Key | F |
constexpr Key | F1 |
constexpr Key | F10 |
constexpr Key | F11 |
constexpr Key | F12 |
constexpr Key | F2 |
constexpr Key | F3 |
constexpr Key | F4 |
constexpr Key | F5 |
constexpr Key | F6 |
constexpr Key | F7 |
constexpr Key | F8 |
constexpr Key | F9 |
constexpr Key | G |
constexpr Key | H |
constexpr Key | Home |
constexpr Key | I |
constexpr Key | Insert |
constexpr Key | J |
constexpr Key | K |
constexpr Key | L |
constexpr Key | Left |
constexpr Key | M |
constexpr Key | Menu |
constexpr Key | Meta |
constexpr Key | N |
constexpr Key | Number_0 |
constexpr Key | Number_1 |
constexpr Key | Number_2 |
constexpr Key | Number_3 |
constexpr Key | Number_4 |
constexpr Key | Number_5 |
constexpr Key | Number_6 |
constexpr Key | Number_7 |
constexpr Key | Number_8 |
constexpr Key | Number_9 |
constexpr Key | Numlock |
constexpr Key | Numpad_0 |
constexpr Key | Numpad_1 |
constexpr Key | Numpad_2 |
constexpr Key | Numpad_3 |
constexpr Key | Numpad_4 |
constexpr Key | Numpad_5 |
constexpr Key | Numpad_6 |
constexpr Key | Numpad_7 |
constexpr Key | Numpad_8 |
constexpr Key | Numpad_9 |
constexpr Key | Numpad_Decimal |
constexpr Key | Numpad_Div |
constexpr Key | Numpad_Enter |
constexpr Key | Numpad_Minus |
constexpr Key | Numpad_Mult |
constexpr Key | Numpad_Plus |
constexpr Key | O |
constexpr Key | OSTransport |
Keycodes that are transported from OS. More... | |
constexpr Key | P |
constexpr Key | PageDown |
constexpr Key | PageUp |
constexpr Key | Pause |
constexpr Key | PrintScreen |
constexpr Key | Q |
constexpr Key | R |
constexpr Key | RAlt |
constexpr Key | RControl |
constexpr Key | Right |
constexpr Key | RMeta |
constexpr Key | RShift |
constexpr Key | S |
constexpr Key | ScrollLock |
constexpr Key | Shift |
constexpr Key | Space |
constexpr Key | T |
constexpr Key | Tab |
constexpr Key | U |
constexpr Key | Up |
constexpr Key | V |
constexpr Key | W |
constexpr Key | X |
constexpr Key | Y |
constexpr Key | Z |
std::string GetName | ( | Key | key | ) |
Returns the name of the key.
This function returns capital letters for printable letter keys, names of known keys and OS dependent names for other keys.
References Alt, Backspace, CapsLock, Control, Delete, Down, End, Enter, Escape, F1, F10, F12, F9, Home, Insert, Left, Menu, Meta, Numlock, Numpad_0, Numpad_9, Numpad_Decimal, Numpad_Div, Numpad_Enter, Numpad_Minus, Numpad_Mult, Numpad_Plus, Gorgon::WindowManager::osgetkeyname(), OSTransport, PageDown, PageUp, Pause, PrintScreen, RAlt, RControl, Right, RMeta, RShift, ScrollLock, Shift, Space, Tab, and Up.
|
constexpr |
Returns if the key is an enter key.
References Enter, and Numpad_Enter.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |