#include <keycode.h>
◆ value_type
◆ KeyPress() [1/3]
◆ KeyPress() [2/3]
| KeyPress::KeyPress |
( |
const std::string & | name | ) |
|
◆ KeyPress() [3/3]
| KeyPress::KeyPress |
( |
const SEvent::SKeyInput & | in | ) |
|
◆ formatScancode()
| std::string KeyPress::formatScancode |
( |
| ) |
const |
|
private |
◆ getKeychar()
| wchar_t KeyPress::getKeychar |
( |
| ) |
const |
◆ getKeycode()
| EKEY_CODE KeyPress::getKeycode |
( |
| ) |
const |
◆ getScancode()
| u32 KeyPress::getScancode |
( |
| ) |
const |
|
inline |
◆ getSpecialKey()
| KeyPress KeyPress::getSpecialKey |
( |
const std::string & | name | ) |
|
|
static |
◆ loadFromKey()
| void KeyPress::loadFromKey |
( |
EKEY_CODE | keycode, |
|
|
wchar_t | keychar ) |
|
private |
◆ loadFromScancode()
| bool KeyPress::loadFromScancode |
( |
const std::string & | name | ) |
|
|
private |
◆ name()
| std::string KeyPress::name |
( |
| ) |
const |
References fmtgettext(), getScancode(), table_key::LangName, lookup_scancode(), name(), scancode, and strgettext().
Referenced by KeyPress(), GUIButtonKey::cancelCapture(), getSpecialKey(), ModApiMenuCommon::l_get_key_description(), loadFromScancode(), name(), GUIButtonKey::setKey(), and sym().
◆ operator bool()
| KeyPress::operator bool |
( |
| ) |
const |
|
inline |
◆ operator!=()
| bool KeyPress::operator!= |
( |
KeyPress | o | ) |
const |
|
inline |
◆ operator<()
| bool KeyPress::operator< |
( |
KeyPress | o | ) |
const |
|
inline |
◆ operator==()
| bool KeyPress::operator== |
( |
KeyPress | o | ) |
const |
|
inline |
◆ sym()
| std::string KeyPress::sym |
( |
| ) |
const |
◆ scancode
Referenced by KeyPress(), formatScancode(), getKeychar(), getKeycode(), getScancode(), loadFromKey(), loadFromScancode(), name(), operator bool(), operator<(), operator==(), and sym().
The documentation for this class was generated from the following files: