mirror of https://github.com/debauchee/barrier.git
Merge pull request #818 from tom-tan/add-eisu-muhenkan
Add key entries for `Eisu_toggle` and `Muhenkan`
This commit is contained in:
commit
36ae769987
|
@ -43,6 +43,7 @@ const KeyNameMapEntry kKeyNameMap[] = {
|
|||
{ "Control_R", kKeyControl_R },
|
||||
{ "Delete", kKeyDelete },
|
||||
{ "Down", kKeyDown },
|
||||
{ "EisuToggle", kKeyEisuToggle },
|
||||
{ "Eject", kKeyEject },
|
||||
{ "End", kKeyEnd },
|
||||
{ "Escape", kKeyEscape },
|
||||
|
@ -89,6 +90,7 @@ const KeyNameMapEntry kKeyNameMap[] = {
|
|||
{ "Hyper_L", kKeyHyper_L },
|
||||
{ "Hyper_R", kKeyHyper_R },
|
||||
{ "Insert", kKeyInsert },
|
||||
{ "Kana", kKeyKana },
|
||||
{ "KP_0", kKeyKP_0 },
|
||||
{ "KP_1", kKeyKP_1 },
|
||||
{ "KP_2", kKeyKP_2 },
|
||||
|
@ -130,6 +132,7 @@ const KeyNameMapEntry kKeyNameMap[] = {
|
|||
{ "Menu", kKeyMenu },
|
||||
{ "Meta_L", kKeyMeta_L },
|
||||
{ "Meta_R", kKeyMeta_R },
|
||||
{ "Muhenkan", kKeyMuhenkan },
|
||||
{ "NumLock", kKeyNumLock },
|
||||
{ "PageDown", kKeyPageDown },
|
||||
{ "PageUp", kKeyPageUp },
|
||||
|
|
|
@ -109,11 +109,13 @@ static const KeyID kKeyPause = 0xEF13; /* Pause, hold */
|
|||
static const KeyID kKeyScrollLock = 0xEF14;
|
||||
static const KeyID kKeySysReq = 0xEF15;
|
||||
static const KeyID kKeyEscape = 0xEF1B;
|
||||
static const KeyID kKeyMuhenkan = 0xEF22; /* Cancel Conversion */
|
||||
static const KeyID kKeyHenkan = 0xEF23; /* Start/Stop Conversion */
|
||||
static const KeyID kKeyKana = 0xEF26; /* Kana */
|
||||
static const KeyID kKeyHiraganaKatakana = 0xEF27; /* Hiragana/Katakana toggle */
|
||||
static const KeyID kKeyZenkaku = 0xEF2A; /* Zenkaku/Hankaku */
|
||||
static const KeyID kKeyKanzi = 0xEF2A; /* Kanzi */
|
||||
static const KeyID kKeyEisuToggle = 0xEF30; /* Alphanumeric toggle */
|
||||
static const KeyID kKeyHangul = 0xEF31; /* Hangul */
|
||||
static const KeyID kKeyHanja = 0xEF34; /* Hanja */
|
||||
static const KeyID kKeyDelete = 0xEFFF; /* Delete, rubout */
|
||||
|
|
Loading…
Reference in New Issue