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:228
static const KeyID kKeyEnd
Definition KeyTypes.h:135
static const KeyID kKeyF1
Definition KeyTypes.h:191
static const KeyID kKeySleep
Definition KeyTypes.h:272
uint32_t KeyID
Key ID.
Definition KeyTypes.h:22
static const KeyID kKeyTab
Definition KeyTypes.h:110
static const KeyID kKeyKP_6
Definition KeyTypes.h:185
static const KeyModifierMask KeyModifierAltGr
Definition KeyTypes.h:65
static const KeyID kKeyKP_PageUp
Definition KeyTypes.h:166
static const KeyModifierMask KeyModifierCapsLock
Definition KeyTypes.h:67
static const KeyID kKeyKP_Delete
Definition KeyTypes.h:171
static const KeyID kKeyMeta_L
Definition KeyTypes.h:234
static const KeyID kKeyF29
Definition KeyTypes.h:219
static const KeyModifierMask KeyModifierAlt
Definition KeyTypes.h:62
static const KeyID kKeyKP_Add
Definition KeyTypes.h:174
static const KeyModifierID kKeyModifierIDControl
Definition KeyTypes.h:92
static const KeyModifierID kKeyModifierIDLast
Definition KeyTypes.h:97
static const KeyID kKeyAppUser1
Definition KeyTypes.h:289
static const KeyID kKeyBrightnessUp
Definition KeyTypes.h:292
static const KeyID kKeyWWWRefresh
Definition KeyTypes.h:275
static const KeyID kKeyWWWSearch
Definition KeyTypes.h:277
static const KeyID kKeyCompose
Definition KeyTypes.h:244
static const KeyID kKeyKP_F3
Definition KeyTypes.h:159
static const KeyID kKeyKP_F4
Definition KeyTypes.h:160
static const KeyID kKeyNumLock
Definition KeyTypes.h:151
static const KeyModifierID kKeyModifierIDAlt
Definition KeyTypes.h:93
static const KeyID kKeyRight
Definition KeyTypes.h:131
static const KeyID kKeyWWWForward
Definition KeyTypes.h:274
static const KeyID kKeyF30
Definition KeyTypes.h:220
static const KeyModifierID kKeyModifierIDShift
Definition KeyTypes.h:91
static const KeyID kKeyNone
Definition KeyTypes.h:106
static const KeyID kKeyLaunchpad
Definition KeyTypes.h:294
static const KeyID kKeyF2
Definition KeyTypes.h:192
static const uint32_t kKeyModifierBitLevel5Lock
Definition KeyTypes.h:81
static const KeyID kKeyBegin
Definition KeyTypes.h:136
static const KeyID kKeyKP_Left
Definition KeyTypes.h:162
static const KeyID kKeySuper_L
Definition KeyTypes.h:238
static const KeyID kKeyAppMail
Definition KeyTypes.h:287
static const KeyModifierMask KeyModifierSuper
Definition KeyTypes.h:64
static const KeyID kKeyF12
Definition KeyTypes.h:202
static const KeyID kKeyKP_Enter
Definition KeyTypes.h:156
static const KeyID kKeyF10
Definition KeyTypes.h:200
static const KeyID kKeyAltGr
Definition KeyTypes.h:150
static const KeyID kKeyF35
Definition KeyTypes.h:225
static const KeyID kKeyF14
Definition KeyTypes.h:204
static const KeyID kKeyF33
Definition KeyTypes.h:223
static const KeyID kKeySysReq
Definition KeyTypes.h:116
static const KeyID kKeyMeta_R
Definition KeyTypes.h:235
static const KeyID kKeyDeadAbovedot
Definition KeyTypes.h:251
static const KeyID kKeyAudioNext
Definition KeyTypes.h:283
static const KeyModifierID kKeyModifierIDSuper
Definition KeyTypes.h:95
static const KeyID kKeyKP_8
Definition KeyTypes.h:187
static const KeyID kKeyKP_5
Definition KeyTypes.h:184
static const KeyID kKeyClear
Definition KeyTypes.h:112
static const KeyID kKeyFind
Definition KeyTypes.h:146
static const KeyID kKeyKP_Down
Definition KeyTypes.h:165
static const uint32_t kKeyModifierBitScrollLock
Definition KeyTypes.h:84
static const KeyID kKeyKP_3
Definition KeyTypes.h:182
static const KeyID kKeyKP_Multiply
Definition KeyTypes.h:173
static const KeyID kKeyDeadCaron
Definition KeyTypes.h:255
static const KeyID kKeyKP_Separator
Definition KeyTypes.h:175
static const KeyID kKeyWWWFavorites
Definition KeyTypes.h:278
static const KeyID kKeyPrint
Definition KeyTypes.h:140
static const KeyID kKeyKP_7
Definition KeyTypes.h:186
static const KeyID kKeyF6
Definition KeyTypes.h:196
static const KeyID kKeyLeftTab
Definition KeyTypes.h:260
static const uint32_t kKeyModifierBitMeta
Definition KeyTypes.h:78
static const KeyID kKeyF15
Definition KeyTypes.h:205
static const KeyID kKeyCancel
Definition KeyTypes.h:147
static const KeyID kKeyWWWHome
Definition KeyTypes.h:279
static const KeyID kKeyF24
Definition KeyTypes.h:214
static const KeyID kKeyWWWBack
Definition KeyTypes.h:273
static const KeyID kKeyKana
Definition KeyTypes.h:119
uint32_t KeyModifierID
Modifier key ID.
Definition KeyTypes.h:55
static const KeyID kKeyF21
Definition KeyTypes.h:211
static const KeyID kKeyDeadCircumflex
Definition KeyTypes.h:247
static const KeyID kKeyF17
Definition KeyTypes.h:207
static const KeyModifierID kKeyModifierIDNull
Definition KeyTypes.h:90
static const KeyID kKeyF28
Definition KeyTypes.h:218
static const KeyID kKeyScrollLock
Definition KeyTypes.h:115
static const KeyID kKeyEject
Definition KeyTypes.h:271
static const uint32_t kKeyModifierBitControl
Definition KeyTypes.h:76
static const KeyModifierID kKeyModifierIDAltGr
Definition KeyTypes.h:96
static const KeyID kKeyHanja
Definition KeyTypes.h:124
static const KeyID kKeyKP_Decimal
Definition KeyTypes.h:177
static const KeyModifierMask KeyModifierScrollLock
Definition KeyTypes.h:69
static const KeyID kKeyF25
Definition KeyTypes.h:215
static const KeyID kKeyHelp
Definition KeyTypes.h:148
static const KeyID kKeyHyper_L
Definition KeyTypes.h:240
static const KeyID kKeyKP_PageDown
Definition KeyTypes.h:167
uint16_t KeyButton
Key Code.
Definition KeyTypes.h:35
static const KeyID kKeyKP_Begin
Definition KeyTypes.h:169
static const int32_t kKeyModifierNumBits
Definition KeyTypes.h:85
static const KeyID kKeyDeadAbovering
Definition KeyTypes.h:253
static const KeyID kKeyDeadGrave
Definition KeyTypes.h:245
static const KeyID kKeyKP_Home
Definition KeyTypes.h:161
static const KeyID kKeyAudioPrev
Definition KeyTypes.h:284
static const KeyID kKeyDelete
Definition KeyTypes.h:125
static const KeyID kKeyKP_Right
Definition KeyTypes.h:164
static const KeyID kKeyAudioMute
Definition KeyTypes.h:280
static const KeyID kKeyKP_F2
Definition KeyTypes.h:158
static const KeyID kKeyAppUser2
Definition KeyTypes.h:290
static const KeyID kKeyDeadDoubleacute
Definition KeyTypes.h:254
static const KeyID kKeyPrevGroup
Definition KeyTypes.h:268
static const KeyID kKeyControl_R
Definition KeyTypes.h:231
static const KeyID kKeyControl_L
Definition KeyTypes.h:230
static const KeyID kKeyAlt_L
Definition KeyTypes.h:236
static const KeyID kKeyUp
Definition KeyTypes.h:130
static const KeyID kKeyDeadAcute
Definition KeyTypes.h:246
static const KeyID kKeyF26
Definition KeyTypes.h:216
static const KeyID kKeyLeft
Definition KeyTypes.h:129
static const KeyID kKeySelect
Definition KeyTypes.h:139
static const KeyID kKeyPause
Definition KeyTypes.h:114
static const KeyID kKeyF23
Definition KeyTypes.h:213
static const KeyID kKeyInsert
Definition KeyTypes.h:142
static const KeyID kKeyLinefeed
Definition KeyTypes.h:111
static const KeyID kKeyMenu
Definition KeyTypes.h:145
static const KeyID kKeyHenkan
Definition KeyTypes.h:118
static const KeyID kKeyKP_Equal
Definition KeyTypes.h:172
static const KeyID kKeyKP_Subtract
Definition KeyTypes.h:176
static const KeyID kKeyCapsLock
Definition KeyTypes.h:232
static const KeyID kKeyF20
Definition KeyTypes.h:210
static const KeyID kKeyDown
Definition KeyTypes.h:132
static const KeyID kKeyKP_Insert
Definition KeyTypes.h:170
static const uint32_t kKeyModifierBitNumLock
Definition KeyTypes.h:83
static const KeyID kKeyAudioPlay
Definition KeyTypes.h:286
static const KeyID kKeyShift_R
Definition KeyTypes.h:229
static const KeyID kKeyHyper_R
Definition KeyTypes.h:241
static const KeyModifierMask KeyModifierShift
Definition KeyTypes.h:60
static const KeyID kKeyDeadBreve
Definition KeyTypes.h:250
static const KeyID kKeyKP_F1
Definition KeyTypes.h:157
static const uint32_t kKeyModifierBitShift
Definition KeyTypes.h:75
static const KeyID kKeyClearModifiers
Definition KeyTypes.h:264
static const KeyID kKeyDeadDiaeresis
Definition KeyTypes.h:252
static const KeyID kKeyF7
Definition KeyTypes.h:197
static const KeyModifierID kKeyModifierIDMeta
Definition KeyTypes.h:94
static const uint32_t kKeyModifierBitAlt
Definition KeyTypes.h:77
static const KeyModifierMask KeyModifierNumLock
Definition KeyTypes.h:68
static const KeyID kKeyF3
Definition KeyTypes.h:193
static const KeyModifierMask KeyModifierMeta
Definition KeyTypes.h:63
static const KeyID kKeyBreak
Definition KeyTypes.h:149
uint32_t KeyModifierMask
Modifier key mask.
Definition KeyTypes.h:45
static const KeyID kKeyF16
Definition KeyTypes.h:206
static const KeyID kKeyZenkaku
Definition KeyTypes.h:121
static const KeyID kKeyDeadOgonek
Definition KeyTypes.h:257
static const KeyID kKeyDeadCedilla
Definition KeyTypes.h:256
static const KeyID kKeyEscape
Definition KeyTypes.h:117
static const KeyID kKeySetModifiers
Definition KeyTypes.h:263
static const KeyID kKeyDeadMacron
Definition KeyTypes.h:249
static const KeyID kKeyBackSpace
Definition KeyTypes.h:109
static const KeyID kKeyF34
Definition KeyTypes.h:224
static const uint32_t kKeyModifierBitAltGr
Definition KeyTypes.h:80
static const KeyID kKeyRedo
Definition KeyTypes.h:144
static const KeyID kKeyF27
Definition KeyTypes.h:217
static const KeyID kKeyF4
Definition KeyTypes.h:194
static const KeyID kKeyF13
Definition KeyTypes.h:203
static const KeyID kKeyHangul
Definition KeyTypes.h:123
static const KeyID kKeyKP_0
Definition KeyTypes.h:179
static const KeyID kKeyAppMedia
Definition KeyTypes.h:288
static const uint32_t kKeyModifierBitCapsLock
Definition KeyTypes.h:82
static const KeyID kKeyKanzi
Definition KeyTypes.h:122
static const KeyID kKeyF22
Definition KeyTypes.h:212
static const KeyID kKeySuper_R
Definition KeyTypes.h:239
static const KeyID kKeyF31
Definition KeyTypes.h:221
static const KeyID kKeyAlt_R
Definition KeyTypes.h:237
static const KeyID kKeyDeadTilde
Definition KeyTypes.h:248
static const KeyID kKeyKP_Space
Definition KeyTypes.h:154
static const KeyModifierMask KeyModifierControl
Definition KeyTypes.h:61
static const KeyID kKeyUndo
Definition KeyTypes.h:143
static const KeyID kKeyKP_Tab
Definition KeyTypes.h:155
static const KeyID kKeyF11
Definition KeyTypes.h:201
static const KeyID kKeyWWWStop
Definition KeyTypes.h:276
static const KeyID kKeyNextGroup
Definition KeyTypes.h:267
static const KeyID kKeyAudioStop
Definition KeyTypes.h:285
static const KeyID kKeyExecute
Definition KeyTypes.h:141
static const KeyID kKeyF18
Definition KeyTypes.h:208
static const KeyID kKeyF8
Definition KeyTypes.h:198
static const KeyID kKeyAudioDown
Definition KeyTypes.h:281
static const KeyID kKeyReturn
Definition KeyTypes.h:113
static const KeyID kKeyHiraganaKatakana
Definition KeyTypes.h:120
static const uint32_t kKeyModifierBitNone
Definition KeyTypes.h:74
static const KeyID kKeyKP_2
Definition KeyTypes.h:181
static const KeyID kKeyKP_9
Definition KeyTypes.h:188
static const KeyID kKeyF32
Definition KeyTypes.h:222
static const KeyID kKeyF19
Definition KeyTypes.h:209
static const KeyID kKeyKP_1
Definition KeyTypes.h:180
static const KeyID kKeyHome
Definition KeyTypes.h:128
static const KeyID kKeyF5
Definition KeyTypes.h:195
static const KeyID kKeyKP_4
Definition KeyTypes.h:183
static const KeyID kKeyShiftLock
Definition KeyTypes.h:233
static const KeyModifierMask KeyModifierLevel5Lock
Definition KeyTypes.h:66
static const KeyID kKeyBrightnessDown
Definition KeyTypes.h:291
static const KeyID kKeyPageDown
Definition KeyTypes.h:134
static const KeyID kKeyKP_Divide
Definition KeyTypes.h:178
static const KeyID kKeyF9
Definition KeyTypes.h:199
static const KeyID kKeyKP_End
Definition KeyTypes.h:168
static const KeyID kKeyMissionControl
Definition KeyTypes.h:293
static const KeyID kKeyAudioUp
Definition KeyTypes.h:282
static const uint32_t kKeyModifierBitSuper
Definition KeyTypes.h:79
static const KeyID kKeyKP_Up
Definition KeyTypes.h:163
static const KeyID kKeyPageUp
Definition KeyTypes.h:133
Definition KeyTypes.h:304
const char * m_name
Definition KeyTypes.h:305
KeyModifierMask m_mask
Definition KeyTypes.h:306
Definition KeyTypes.h:299
const char * m_name
Definition KeyTypes.h:300
KeyID m_id
Definition KeyTypes.h:301