Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
KeyTypes.cpp File Reference
Include dependency graph for KeyTypes.cpp:

Variables

const KeyNameMapEntry kKeyNameMap []
 Key name to KeyID table.
const KeyModifierNameMapEntry kModifierNameMap []
 Modifier key name to KeyModifierMask table.

Variable Documentation

◆ kKeyNameMap

const KeyNameMapEntry kKeyNameMap[]

Key name to KeyID table.

A table of key names to the corresponding KeyID. Only the keys listed above plus non-alphanumeric ASCII characters are in the table. The end of the table is the first pair with a nullptr m_name.

◆ kModifierNameMap

const KeyModifierNameMapEntry kModifierNameMap[]
Initial value:
= {
{"Alt", KeyModifierAlt},
{"AltGr", KeyModifierAltGr},
{"Control", KeyModifierControl},
{"Meta", KeyModifierMeta},
{"Shift", KeyModifierShift},
{"Super", KeyModifierSuper},
{nullptr, 0},
}
static const KeyModifierMask KeyModifierAltGr
Definition KeyTypes.h:65
static const KeyModifierMask KeyModifierAlt
Definition KeyTypes.h:62
static const KeyModifierMask KeyModifierSuper
Definition KeyTypes.h:64
static const KeyModifierMask KeyModifierShift
Definition KeyTypes.h:60
static const KeyModifierMask KeyModifierMeta
Definition KeyTypes.h:63
static const KeyModifierMask KeyModifierControl
Definition KeyTypes.h:61

Modifier key name to KeyModifierMask table.

A table of modifier key names to the corresponding KeyModifierMask. The end of the table is the first pair with a nullptr m_name.