#include <keycode.h>
|
irr::EKEY_CODE | Key = irr::KEY_KEY_CODES_COUNT |
|
wchar_t | Char = L'\0' |
|
std::string | m_name = "" |
|
◆ KeyPress() [1/3]
◆ KeyPress() [2/3]
KeyPress::KeyPress |
( |
const char * | name | ) |
|
◆ KeyPress() [3/3]
KeyPress::KeyPress |
( |
const irr::SEvent::SKeyInput & | in, |
|
|
bool | prefer_character = false ) |
◆ name()
const char * KeyPress::name |
( |
| ) |
const |
References Char, Key, table_key::LangName, lookup_keychar(), lookup_keykey(), m_name, and valid_kcode().
Referenced by KeyPress(), GUIKeyChangeMenu::OnEvent(), GUIKeyChangeMenu::regenerateGui(), GUIKeyChangeMenu::resetMenu(), and TestKeycode::testCreateFromString().
◆ operator==()
bool KeyPress::operator== |
( |
const KeyPress & | o | ) |
const |
|
inline |
◆ sym()
const char * KeyPress::sym |
( |
| ) |
const |
◆ valid_kcode()
static bool KeyPress::valid_kcode |
( |
irr::EKEY_CODE | k | ) |
|
|
inlinestaticprotected |
◆ Char
wchar_t KeyPress::Char = L'\0' |
|
protected |
◆ Key
irr::EKEY_CODE KeyPress::Key = irr::KEY_KEY_CODES_COUNT |
|
protected |
◆ m_name
std::string KeyPress::m_name = "" |
|
protected |
The documentation for this class was generated from the following files: