KeyRemap4MacBook のオリジナルUS配列キーボード用 private.xml

投稿者: | 2014年2月28日

さざめきさんの使っているUS仕様の日本語キーボード用 KeyRemap4MacBoook 設定 (private.xml) を公開。

ちなみに普段使っているキーボードは、日本語キーボードのキートップを International English Keyboard のもので置き換えた、こんなヤツです。Fnキーなどは、テプラで作った白いシールを貼っています。

US仕様のJISキーボード <?xml version="1.0"?> <root> <item> <name>Sazameki US/JIS Profile (Main Keys)</name> <identifier>jp.sazameki.switchprofile</identifier> <!-- Number keys at the first line --> <autogen>__KeyToKey__ KeyCode::KEY_2, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::BRACKET_LEFT</autogen> <autogen>__KeyToKey__ KeyCode::KEY_6, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::EQUAL</autogen> <autogen>__KeyToKey__ KeyCode::KEY_7, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::KEY_6, ModifierFlag::SHIFT_L</autogen> <autogen>__KeyToKey__ KeyCode::KEY_8, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::QUOTE, ModifierFlag::SHIFT_L</autogen> <autogen>__KeyToKey__ KeyCode::KEY_9, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::KEY_8, ModifierFlag::SHIFT_L</autogen> <autogen>__KeyToKey__ KeyCode::KEY_0, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::KEY_9, ModifierFlag::SHIFT_L</autogen> <!-- Symbol keys at the first line --> <autogen>__KeyToKey__ KeyCode::MINUS, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::JIS_UNDERSCORE</autogen> <autogen>__KeyToKey__ KeyCode::EQUAL, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::SEMICOLON, ModifierFlag::SHIFT_L</autogen> <autogen>__KeyToKey__ KeyCode::EQUAL, KeyCode::MINUS, ModifierFlag::SHIFT_L</autogen> <autogen>__KeyToKey__ KeyCode::JIS_YEN, KeyCode::VK_NONE</autogen> <!--autogen>__KeyToKey__ KeyCode::JIS_YEN, KeyCode::DELETE</autogen--> <!-- Symbol keys at the second line --> <autogen>__KeyToKey__ KeyCode::BRACKET_LEFT, KeyCode::BRACKET_RIGHT</autogen> <autogen>__KeyToKey__ KeyCode::BRACKET_RIGHT, KeyCode::BACKSLASH</autogen> <!-- Symbol keys at the third line --> <autogen>__KeyToKey__ KeyCode::SEMICOLON, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::QUOTE</autogen> <autogen>__KeyToKey__ KeyCode::QUOTE, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::KEY_2, ModifierFlag::SHIFT_L</autogen> <autogen>__KeyToKey__ KeyCode::QUOTE, KeyCode::KEY_7, ModifierFlag::SHIFT_L</autogen> <autogen>__KeyToKey__ KeyCode::BACKSLASH, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::EQUAL, ModifierFlag::SHIFT_L</autogen> <autogen>__KeyToKey__ KeyCode::BACKSLASH, KeyCode::BRACKET_LEFT, ModifierFlag::SHIFT_L</autogen> <!-- Symbol keys at the fourth line --> <autogen>__KeyToKey__ KeyCode::JIS_UNDERSCORE, KeyCode::JIS_YEN, ModifierFlag::OPTION_L</autogen> </item> <item> <name>Sazameki US/JIS Profile (Function Keys)</name> <identifier>jp.sazameki.switchprofile_fn</identifier> <!-- Function keys --> <autogen>__KeyToKey__ KeyCode::F7, ModifierFlag::FN, KeyCode::VK_CONSUMERKEY_MUSIC_PREV</autogen> <autogen>__KeyToKey__ KeyCode::F8, ModifierFlag::FN, KeyCode::VK_CONSUMERKEY_MUSIC_PLAY</autogen> <autogen>__KeyToKey__ KeyCode::F9, ModifierFlag::FN, KeyCode::VK_CONSUMERKEY_MUSIC_NEXT</autogen> <autogen>__KeyToKey__ KeyCode::F10, ModifierFlag::FN, KeyCode::VK_CONSUMERKEY_VOLUME_MUTE</autogen> <autogen>__KeyToKey__ KeyCode::F11, KeyCode::VK_CONSUMERKEY_VOLUME_DOWN</autogen> <autogen>__KeyToKey__ KeyCode::F12, KeyCode::VK_CONSUMERKEY_VOLUME_UP</autogen> </item> <item> <name>Sazameki US/JIS Profile (Modifier Keys) (Use PCKeyboardHack to Change Caps Lock to 80 (F19))</name> <identifier>jp.sazameki.switchprofile_mod</identifier> <autogen>__KeyToKey__ KeyCode::FN, KeyCode::OPTION_R</autogen> <autogen>__KeyToKey__ KeyCode::F19, KeyCode::FN</autogen> </item> </root>