10#include <IEventReceiver.h>
30 KeyPress(
const irr::SEvent::SKeyInput &in,
bool prefer_character =
false);
37 const char *
sym()
const;
38 const char *
name()
const;
43 return k > 0 && k < irr::KEY_KEY_CODES_COUNT;
46 irr::EKEY_CODE
Key = irr::KEY_KEY_CODES_COUNT;
Definition exceptions.h:12
wchar_t Char
Definition keycode.h:47
const char * name() const
Definition keycode.cpp:323
irr::EKEY_CODE Key
Definition keycode.h:46
bool operator==(const KeyPress &o) const
Definition keycode.h:32
static bool valid_kcode(irr::EKEY_CODE k)
Definition keycode.h:41
const char * sym() const
Definition keycode.cpp:318
std::string m_name
Definition keycode.h:48
UnknownKeycode(const char *s)
Definition keycode.h:16
irr::EKEY_CODE keyname_to_keycode(const char *name)
Definition keycode.cpp:364
const KeyPress & getKeySetting(const char *settingname)
Definition keycode.cpp:348
void clearKeyCache()
Definition keycode.cpp:359