#include <keycode.h>
◆ value_alternative_t
◆ value_type
◆ InputType
| Enumerator |
|---|
| KEYBOARD | |
| MOUSE_BUTTON | |
| GAME_ACTION | |
◆ KeyPress() [1/5]
◆ KeyPress() [2/5]
| KeyPress::KeyPress |
( |
const std::string & | name | ) |
|
◆ KeyPress() [3/5]
| KeyPress::KeyPress |
( |
const SEvent::SKeyInput & | in | ) |
|
◆ KeyPress() [4/5]
| KeyPress::KeyPress |
( |
const SEvent::SMouseInput & | in | ) |
|
◆ KeyPress() [5/5]
◆ emplace()
◆ get()
◆ getIf()
◆ getScancode()
| u32 KeyPress::getScancode |
( |
| ) |
const |
|
inline |
◆ getSpecialKey()
| KeyPress KeyPress::getSpecialKey |
( |
const std::string & | name | ) |
|
|
static |
◆ getType()
◆ loadFromKey()
| void KeyPress::loadFromKey |
( |
EKEY_CODE | keycode, |
|
|
wchar_t | keychar ) |
|
private |
◆ loadFromScancode()
| bool KeyPress::loadFromScancode |
( |
const std::string & | name | ) |
|
|
private |
◆ loadUnsignedFromPrefix()
| bool KeyPress::loadUnsignedFromPrefix |
( |
const std::string & | name, |
|
|
const std::string & | prefix ) |
|
private |
◆ name()
| std::string KeyPress::name |
( |
| ) |
const |
References fmtgettext(), get(), getScancode(), getType(), KEYBOARD, table_key::LangName, lookup_scancode(), MOUSE_BUTTON, name(), and strgettext().
Referenced by KeyPress(), KeyPress(), getSpecialKey(), ModApiMenuCommon::l_get_key_description(), loadFromScancode(), loadUnsignedFromPrefix(), name(), and GUIButtonKey::setKey().
◆ operator bool()
| KeyPress::operator bool |
( |
| ) |
const |
◆ 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 |
◆ value
The documentation for this class was generated from the following files: