From a18ed32ca38982243f5c6e9778de0965039b00e7 Mon Sep 17 00:00:00 2001 From: Jacob Alexander Date: Fri, 9 Oct 2015 23:12:04 -0700 Subject: [PATCH] Adding aliases for international keys --- kll_lib/hid_dict.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/kll_lib/hid_dict.py b/kll_lib/hid_dict.py index 4206a01..b27aa4f 100644 --- a/kll_lib/hid_dict.py +++ b/kll_lib/hid_dict.py @@ -924,19 +924,19 @@ kll_hid_lookup_dictionary['USBCode'] = dict([ ( 'P,', ('USB', 0x85) ), ( 'KEYPAD AS400 EQUAL', ('USB', 0x86) ), ( 'INTER1', ('USB', 0x87) ), ( 'KANJI1', ('USB', 0x87) ), - ( 'INTER2', ('USB', 0x88) ), ( 'KANJI2', ('USB', 0x88) ), ( 'KANA', ('USB', 0x88) ), - ( 'INTER3', ('USB', 0x89) ), ( 'KANJI3', ('USB', 0x89) ), ( 'YEN', ('USB', 0x89) ), - ( 'INTER4', ('USB', 0x8A) ), ( 'KANJI4', ('USB', 0x8A) ), ( 'HENKAN', ('USB', 0x8A) ), - ( 'INTER5', ('USB', 0x8B) ), ( 'KANJI5', ('USB', 0x8B) ), ( 'MUHENKAN', ('USB', 0x8B) ), + ( 'INTER2', ('USB', 0x88) ), ( 'KANJI2', ('USB', 0x88) ), ( 'KANA', ('USB', 0x88) ), ( 'カナ', ('USB', 0x88) ), + ( 'INTER3', ('USB', 0x89) ), ( 'KANJI3', ('USB', 0x89) ), ( 'YEN', ('USB', 0x89) ), ( '¥', ('USB', 0x89) ), + ( 'INTER4', ('USB', 0x8A) ), ( 'KANJI4', ('USB', 0x8A) ), ( 'HENKAN', ('USB', 0x8A) ), ( '変換', ('USB', 0x8A) ), + ( 'INTER5', ('USB', 0x8B) ), ( 'KANJI5', ('USB', 0x8B) ), ( 'MUHENKAN', ('USB', 0x8B) ), ( '無変換', ('USB', 0x8B) ), ( 'INTER6', ('USB', 0x8C) ), ( 'KANJI6', ('USB', 0x8C) ), - ( 'INTER7', ('USB', 0x8D) ), ( 'KANJI7', ('USB', 0x8D) ), ( 'BYTETOGGLE', ('USB', 0x8D) ), ( 'BYTE TOGGLE', ('USB', 0x8D) ), + ( 'INTER7', ('USB', 0x8D) ), ( 'KANJI7', ('USB', 0x8D) ), ( 'BYTETOGGLE', ('USB', 0x8D) ), ( 'INTER8', ('USB', 0x8E) ), ( 'KANJI8', ('USB', 0x8E) ), ( 'INTER9', ('USB', 0x8F) ), ( 'KANJI9', ('USB', 0x8F) ), - ( 'LANG1', ('USB', 0x90) ), ( 'HANGULENGLISH', ('USB', 0x90) ), ( 'HANGUL ENGLISH', ('USB', 0x90) ), - ( 'LANG2', ('USB', 0x91) ), ( 'HANJA', ('USB', 0x91) ), ( 'EISU', ('USB', 0x91) ), - ( 'LANG3', ('USB', 0x92) ), ( 'KATAKANA', ('USB', 0x92) ), - ( 'LANG4', ('USB', 0x93) ), ( 'HIRAGANA', ('USB', 0x93) ), - ( 'LANG5', ('USB', 0x94) ), ( 'ZENKAKUHANKAKU', ('USB', 0x94) ), ( 'ZENKAKU HANKAKU', ('USB', 0x94) ), + ( 'LANG1', ('USB', 0x90) ), ( 'HANGULENGLISH', ('USB', 0x90) ), ( 'HANGUL ENGLISH', ('USB', 0x90) ), ( '한/영', ('USB', 0x90) ), + ( 'LANG2', ('USB', 0x91) ), ( 'HANJA', ('USB', 0x91) ), ( 'EISU', ('USB', 0x91) ), ( '英数/한자', ('USB', 0x91) ), + ( 'LANG3', ('USB', 0x92) ), ( 'KATAKANA', ('USB', 0x92) ), ( 'カタカナ', ('USB', 0x92) ), + ( 'LANG4', ('USB', 0x93) ), ( 'HIRAGANA', ('USB', 0x93) ), ( 'ひらがな', ('USB', 0x92) ), + ( 'LANG5', ('USB', 0x94) ), ( 'ZENKAKUHANKAKU', ('USB', 0x94) ), ( 'ZENKAKU HANKAKU', ('USB', 0x94) ), ( '半角/全角', ('USB', 0x94) ), ( 'LANG6', ('USB', 0x95) ), ( 'LANG7', ('USB', 0x96) ), ( 'LANG8', ('USB', 0x97) ), -- 2.39.2