20typedef uint32_t
KeyID;
const KeyNameMapEntry kKeyNameMap[]
Key name to KeyID table.
Definition KeyTypes.cpp:10
const KeyModifierNameMapEntry kModifierNameMap[]
Modifier key name to KeyModifierMask table.
Definition KeyTypes.cpp:186
static const KeyID kKeyShift_L
Definition KeyTypes.h:206
static const KeyID kKeyEnd
Definition KeyTypes.h:113
static const KeyID kKeyF1
Definition KeyTypes.h:169
static const KeyID kKeySleep
Definition KeyTypes.h:250
uint32_t KeyID
Key ID.
Definition KeyTypes.h:22
static const KeyID kKeyTab
Definition KeyTypes.h:88
static const KeyID kKeyKP_6
Definition KeyTypes.h:163
static const KeyModifierMask KeyModifierAltGr
Definition KeyTypes.h:55
static const KeyID kKeyKP_PageUp
Definition KeyTypes.h:144
static const KeyModifierMask KeyModifierCapsLock
Definition KeyTypes.h:57
static const KeyID kKeyKP_Delete
Definition KeyTypes.h:149
static const KeyID kKeyMeta_L
Definition KeyTypes.h:212
static const KeyID kKeyF29
Definition KeyTypes.h:197
static const KeyModifierMask KeyModifierAlt
Definition KeyTypes.h:52
static const KeyID kKeyKP_Add
Definition KeyTypes.h:152
static const KeyID kKeyAppUser1
Definition KeyTypes.h:267
static const KeyID kKeyBrightnessUp
Definition KeyTypes.h:270
static const KeyID kKeyWWWRefresh
Definition KeyTypes.h:253
static const KeyID kKeyWWWSearch
Definition KeyTypes.h:255
static const KeyID kKeyCompose
Definition KeyTypes.h:222
static const KeyID kKeyKP_F3
Definition KeyTypes.h:137
static const KeyID kKeyKP_F4
Definition KeyTypes.h:138
static const KeyID kKeyNumLock
Definition KeyTypes.h:129
static const KeyID kKeyRight
Definition KeyTypes.h:109
static const KeyID kKeyWWWForward
Definition KeyTypes.h:252
static const KeyID kKeyF30
Definition KeyTypes.h:198
static const KeyID kKeyNone
Definition KeyTypes.h:84
static const KeyID kKeyLaunchpad
Definition KeyTypes.h:272
static const KeyID kKeyF2
Definition KeyTypes.h:170
static const uint32_t kKeyModifierBitLevel5Lock
Definition KeyTypes.h:71
static const KeyID kKeyBegin
Definition KeyTypes.h:114
static const KeyID kKeyKP_Left
Definition KeyTypes.h:140
static const KeyID kKeySuper_L
Definition KeyTypes.h:216
static const KeyID kKeyAppMail
Definition KeyTypes.h:265
static const KeyModifierMask KeyModifierSuper
Definition KeyTypes.h:54
static const KeyID kKeyF12
Definition KeyTypes.h:180
static const KeyID kKeyKP_Enter
Definition KeyTypes.h:134
static const KeyID kKeyF10
Definition KeyTypes.h:178
static const KeyID kKeyAltGr
Definition KeyTypes.h:128
static const KeyID kKeyF35
Definition KeyTypes.h:203
static const KeyID kKeyF14
Definition KeyTypes.h:182
static const KeyID kKeyF33
Definition KeyTypes.h:201
static const KeyID kKeySysReq
Definition KeyTypes.h:94
static const KeyID kKeyMeta_R
Definition KeyTypes.h:213
static const KeyID kKeyDeadAbovedot
Definition KeyTypes.h:229
static const KeyID kKeyAudioNext
Definition KeyTypes.h:261
static const KeyID kKeyKP_8
Definition KeyTypes.h:165
static const KeyID kKeyKP_5
Definition KeyTypes.h:162
static const KeyID kKeyClear
Definition KeyTypes.h:90
static const KeyID kKeyFind
Definition KeyTypes.h:124
static const KeyID kKeyKP_Down
Definition KeyTypes.h:143
static const uint32_t kKeyModifierBitScrollLock
Definition KeyTypes.h:74
static const KeyID kKeyKP_3
Definition KeyTypes.h:160
static const KeyID kKeyKP_Multiply
Definition KeyTypes.h:151
static const KeyID kKeyDeadCaron
Definition KeyTypes.h:233
static const KeyID kKeyKP_Separator
Definition KeyTypes.h:153
static const KeyID kKeyWWWFavorites
Definition KeyTypes.h:256
static const KeyID kKeyPrint
Definition KeyTypes.h:118
static const KeyID kKeyKP_7
Definition KeyTypes.h:164
static const KeyID kKeyF6
Definition KeyTypes.h:174
static const KeyID kKeyLeftTab
Definition KeyTypes.h:238
static const uint32_t kKeyModifierBitMeta
Definition KeyTypes.h:68
static const KeyID kKeyF15
Definition KeyTypes.h:183
static const KeyID kKeyCancel
Definition KeyTypes.h:125
static const KeyID kKeyWWWHome
Definition KeyTypes.h:257
static const KeyID kKeyF24
Definition KeyTypes.h:192
static const KeyID kKeyWWWBack
Definition KeyTypes.h:251
static const KeyID kKeyKana
Definition KeyTypes.h:97
static const KeyID kKeyF21
Definition KeyTypes.h:189
static const KeyID kKeyDeadCircumflex
Definition KeyTypes.h:225
static const KeyID kKeyF17
Definition KeyTypes.h:185
static const KeyID kKeyF28
Definition KeyTypes.h:196
static const KeyID kKeyScrollLock
Definition KeyTypes.h:93
static const KeyID kKeyEject
Definition KeyTypes.h:249
static const uint32_t kKeyModifierBitControl
Definition KeyTypes.h:66
static const KeyID kKeyHanja
Definition KeyTypes.h:102
static const KeyID kKeyKP_Decimal
Definition KeyTypes.h:155
static const KeyModifierMask KeyModifierScrollLock
Definition KeyTypes.h:59
static const KeyID kKeyF25
Definition KeyTypes.h:193
static const KeyID kKeyHelp
Definition KeyTypes.h:126
static const KeyID kKeyHyper_L
Definition KeyTypes.h:218
static const KeyID kKeyKP_PageDown
Definition KeyTypes.h:145
uint16_t KeyButton
Key Code.
Definition KeyTypes.h:35
static const KeyID kKeyKP_Begin
Definition KeyTypes.h:147
static const int32_t kKeyModifierNumBits
Definition KeyTypes.h:75
static const KeyID kKeyDeadAbovering
Definition KeyTypes.h:231
static const KeyID kKeyDeadGrave
Definition KeyTypes.h:223
static const KeyID kKeyKP_Home
Definition KeyTypes.h:139
static const KeyID kKeyAudioPrev
Definition KeyTypes.h:262
static const KeyID kKeyDelete
Definition KeyTypes.h:103
static const KeyID kKeyKP_Right
Definition KeyTypes.h:142
static const KeyID kKeyAudioMute
Definition KeyTypes.h:258
static const KeyID kKeyKP_F2
Definition KeyTypes.h:136
static const KeyID kKeyAppUser2
Definition KeyTypes.h:268
static const KeyID kKeyDeadDoubleacute
Definition KeyTypes.h:232
static const KeyID kKeyPrevGroup
Definition KeyTypes.h:246
static const KeyID kKeyControl_R
Definition KeyTypes.h:209
static const KeyID kKeyControl_L
Definition KeyTypes.h:208
static const KeyID kKeyAlt_L
Definition KeyTypes.h:214
static const KeyID kKeyUp
Definition KeyTypes.h:108
static const KeyID kKeyDeadAcute
Definition KeyTypes.h:224
static const KeyID kKeyF26
Definition KeyTypes.h:194
static const KeyID kKeyLeft
Definition KeyTypes.h:107
static const KeyID kKeySelect
Definition KeyTypes.h:117
static const KeyID kKeyPause
Definition KeyTypes.h:92
static const KeyID kKeyF23
Definition KeyTypes.h:191
static const KeyID kKeyInsert
Definition KeyTypes.h:120
static const KeyID kKeyLinefeed
Definition KeyTypes.h:89
static const KeyID kKeyMenu
Definition KeyTypes.h:123
static const KeyID kKeyHenkan
Definition KeyTypes.h:96
static const KeyID kKeyKP_Equal
Definition KeyTypes.h:150
static const KeyID kKeyKP_Subtract
Definition KeyTypes.h:154
static const KeyID kKeyCapsLock
Definition KeyTypes.h:210
static const KeyID kKeyF20
Definition KeyTypes.h:188
static const KeyID kKeyDown
Definition KeyTypes.h:110
static const KeyID kKeyKP_Insert
Definition KeyTypes.h:148
static const uint32_t kKeyModifierBitNumLock
Definition KeyTypes.h:73
static const KeyID kKeyAudioPlay
Definition KeyTypes.h:264
static const KeyID kKeyShift_R
Definition KeyTypes.h:207
static const KeyID kKeyHyper_R
Definition KeyTypes.h:219
static const KeyModifierMask KeyModifierShift
Definition KeyTypes.h:50
static const KeyID kKeyDeadBreve
Definition KeyTypes.h:228
static const KeyID kKeyKP_F1
Definition KeyTypes.h:135
static const uint32_t kKeyModifierBitShift
Definition KeyTypes.h:65
static const KeyID kKeyClearModifiers
Definition KeyTypes.h:242
static const KeyID kKeyDeadDiaeresis
Definition KeyTypes.h:230
static const KeyID kKeyF7
Definition KeyTypes.h:175
static const uint32_t kKeyModifierBitAlt
Definition KeyTypes.h:67
static const KeyModifierMask KeyModifierNumLock
Definition KeyTypes.h:58
static const KeyID kKeyF3
Definition KeyTypes.h:171
static const KeyModifierMask KeyModifierMeta
Definition KeyTypes.h:53
static const KeyID kKeyBreak
Definition KeyTypes.h:127
uint32_t KeyModifierMask
Modifier key mask.
Definition KeyTypes.h:45
static const KeyID kKeyF16
Definition KeyTypes.h:184
static const KeyID kKeyZenkaku
Definition KeyTypes.h:99
static const KeyID kKeyDeadOgonek
Definition KeyTypes.h:235
static const KeyID kKeyDeadCedilla
Definition KeyTypes.h:234
static const KeyID kKeyEscape
Definition KeyTypes.h:95
static const KeyID kKeySetModifiers
Definition KeyTypes.h:241
static const KeyID kKeyDeadMacron
Definition KeyTypes.h:227
static const KeyID kKeyBackSpace
Definition KeyTypes.h:87
static const KeyID kKeyF34
Definition KeyTypes.h:202
static const uint32_t kKeyModifierBitAltGr
Definition KeyTypes.h:70
static const KeyID kKeyRedo
Definition KeyTypes.h:122
static const KeyID kKeyF27
Definition KeyTypes.h:195
static const KeyID kKeyF4
Definition KeyTypes.h:172
static const KeyID kKeyF13
Definition KeyTypes.h:181
static const KeyID kKeyHangul
Definition KeyTypes.h:101
static const KeyID kKeyKP_0
Definition KeyTypes.h:157
static const KeyID kKeyAppMedia
Definition KeyTypes.h:266
static const uint32_t kKeyModifierBitCapsLock
Definition KeyTypes.h:72
static const KeyID kKeyKanzi
Definition KeyTypes.h:100
static const KeyID kKeyF22
Definition KeyTypes.h:190
static const KeyID kKeySuper_R
Definition KeyTypes.h:217
static const KeyID kKeyF31
Definition KeyTypes.h:199
static const KeyID kKeyAlt_R
Definition KeyTypes.h:215
static const KeyID kKeyDeadTilde
Definition KeyTypes.h:226
static const KeyID kKeyKP_Space
Definition KeyTypes.h:132
static const KeyModifierMask KeyModifierControl
Definition KeyTypes.h:51
static const KeyID kKeyUndo
Definition KeyTypes.h:121
static const KeyID kKeyKP_Tab
Definition KeyTypes.h:133
static const KeyID kKeyF11
Definition KeyTypes.h:179
static const KeyID kKeyWWWStop
Definition KeyTypes.h:254
static const KeyID kKeyNextGroup
Definition KeyTypes.h:245
static const KeyID kKeyAudioStop
Definition KeyTypes.h:263
static const KeyID kKeyExecute
Definition KeyTypes.h:119
static const KeyID kKeyF18
Definition KeyTypes.h:186
static const KeyID kKeyF8
Definition KeyTypes.h:176
static const KeyID kKeyAudioDown
Definition KeyTypes.h:259
static const KeyID kKeyReturn
Definition KeyTypes.h:91
static const KeyID kKeyHiraganaKatakana
Definition KeyTypes.h:98
static const uint32_t kKeyModifierBitNone
Definition KeyTypes.h:64
static const KeyID kKeyKP_2
Definition KeyTypes.h:159
static const KeyID kKeyKP_9
Definition KeyTypes.h:166
static const KeyID kKeyF32
Definition KeyTypes.h:200
static const KeyID kKeyF19
Definition KeyTypes.h:187
static const KeyID kKeyKP_1
Definition KeyTypes.h:158
static const KeyID kKeyHome
Definition KeyTypes.h:106
static const KeyID kKeyF5
Definition KeyTypes.h:173
static const KeyID kKeyKP_4
Definition KeyTypes.h:161
static const KeyID kKeyShiftLock
Definition KeyTypes.h:211
static const KeyModifierMask KeyModifierLevel5Lock
Definition KeyTypes.h:56
static const KeyID kKeyBrightnessDown
Definition KeyTypes.h:269
static const KeyID kKeyPageDown
Definition KeyTypes.h:112
static const KeyID kKeyKP_Divide
Definition KeyTypes.h:156
static const KeyID kKeyF9
Definition KeyTypes.h:177
static const KeyID kKeyKP_End
Definition KeyTypes.h:146
static const KeyID kKeyMissionControl
Definition KeyTypes.h:271
static const KeyID kKeyAudioUp
Definition KeyTypes.h:260
static const uint32_t kKeyModifierBitSuper
Definition KeyTypes.h:69
static const KeyID kKeyKP_Up
Definition KeyTypes.h:141
static const KeyID kKeyPageUp
Definition KeyTypes.h:111
Definition KeyTypes.h:282
const char * m_name
Definition KeyTypes.h:283
KeyModifierMask m_mask
Definition KeyTypes.h:284
Definition KeyTypes.h:277
const char * m_name
Definition KeyTypes.h:278
KeyID m_id
Definition KeyTypes.h:279