openMSX
|
#include <UnicodeKeymap.hh>
Public Types | |
enum class | Modifier { SHIFT , CTRL , GRAPH , CAPS , CODE , NUM } |
Public Member Functions | |
constexpr | KeyInfo ()=default |
constexpr | KeyInfo (KeyMatrixPosition pos_, uint8_t modMask_) |
constexpr bool | isValid () const |
Public Attributes | |
KeyMatrixPosition | pos |
uint8_t | modMask = 0 |
Static Public Attributes | |
static constexpr uint8_t | SHIFT_MASK = 1 << to_underlying(Modifier::SHIFT) |
static constexpr uint8_t | CTRL_MASK = 1 << to_underlying(Modifier::CTRL) |
static constexpr uint8_t | GRAPH_MASK = 1 << to_underlying(Modifier::GRAPH) |
static constexpr uint8_t | CAPS_MASK = 1 << to_underlying(Modifier::CAPS) |
static constexpr uint8_t | CODE_MASK = 1 << to_underlying(Modifier::CODE) |
Definition at line 104 of file UnicodeKeymap.hh.
|
strong |
Enumerator | |
---|---|
SHIFT | |
CTRL | |
GRAPH | |
CAPS | |
CODE | |
NUM |
Definition at line 105 of file UnicodeKeymap.hh.
|
constexprdefault |
|
inlineconstexpr |
Definition at line 114 of file UnicodeKeymap.hh.
References openmsx::KeyMatrixPosition::isValid(), and pos.
|
inlineconstexpr |
Definition at line 119 of file UnicodeKeymap.hh.
References openmsx::KeyMatrixPosition::isValid(), and pos.
|
staticconstexpr |
Definition at line 110 of file UnicodeKeymap.hh.
Referenced by openmsx::Keyboard::serialize().
|
staticconstexpr |
Definition at line 111 of file UnicodeKeymap.hh.
Referenced by openmsx::Keyboard::serialize().
|
staticconstexpr |
Definition at line 108 of file UnicodeKeymap.hh.
|
staticconstexpr |
Definition at line 109 of file UnicodeKeymap.hh.
Referenced by openmsx::Keyboard::serialize().
uint8_t openmsx::UnicodeKeymap::KeyInfo::modMask = 0 |
Definition at line 123 of file UnicodeKeymap.hh.
KeyMatrixPosition openmsx::UnicodeKeymap::KeyInfo::pos |
Definition at line 122 of file UnicodeKeymap.hh.
Referenced by openmsx::UnicodeKeymap::getRelevantMods(), isValid(), and KeyInfo().
|
staticconstexpr |
Definition at line 107 of file UnicodeKeymap.hh.