![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cInputKey.h>
Public Member Functions | |
cInputKeyPress (const cInputKeyPress *pKeyBase) noexcept | |
cInputKeyPress (INPUTKEY_TYPE tDevKey=INPUTKEY_NULL, INPKEYMASK_TYPE dwKeyMask=0) noexcept | |
void | InitKey () noexcept |
bool | isKeySet () const noexcept |
INPUTKEY_TYPE | get_DevKey () const noexcept |
void | put_DevKey (INPUTKEY_TYPE tDevKey) noexcept |
INPKEYMASK_TYPE | get_KeyMask () const noexcept |
void | put_KeyMask (INPKEYMASK_TYPE dwKeyMask) noexcept |
INPKEYCOMBO_t | get_SortValue () const noexcept |
const GChar_t * | get_DevKeyName () const |
a text name for this key press. More... | |
cString | get_KeyBaseName () const |
Static Public Member Functions | |
static INPKEYCOMBO_t | MakeSortKey (INPUTKEY_TYPE iDevKey, INPKEYMASK_TYPE dwKeyMask) noexcept |
A (meaningful) Key Press combo e.g. shift+A Can be sorted by HASHCODE_t INPKEYCOMBO_t Used as a base class to then activate some function on key press.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
const GChar_t * GrayLib::cInputKeyPress::get_DevKeyName | ( | ) | const |
a text name for this key press.
cString GrayLib::cInputKeyPress::get_KeyBaseName | ( | ) | const |
|
inlinenoexcept |
|
inlinenoexcept |
Sort by key to make lookups fast.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinestaticnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |