Eyes, JAPAN Blog > KeyRemap4MacBookでキー配列を魔改造

KeyRemap4MacBookでキー配列を魔改造

mima

この記事は1年以上前に書かれたもので、内容が古い可能性がありますのでご注意ください。

Mac OSXでも、KeyRemap4MacBookとPCKeyboardHackを使うことにより、以前紹介したキー配列を再現することができます。ちなみに、この記事は魔改造を施した配列を使って書いています。

※JISキーボードを英字配列として認識させた時の設定です。


PCKeyboardHackで以下の設定をします。

  • CapsLockキーのキーコードを62(右Control)にする
  • 無変換キーを英数キーにする
  • 変換キーをかなキーにする

KeyRemap4MacBookのprivate.xmlは以下のようになります。

<?xml version="1.0"?>
<root>
    <item>
        <name>Dvorack</name>
        <identifier>private.dvorack</identifier>

        <autogen>__KeyToKey__ KeyCode::COMMAND_L, KeyCode::VK_MODIFIER_EXTRA1</autogen>
        <autogen>__KeyToKey__ KeyCode::COMMAND_R, KeyCode::VK_MODIFIER_EXTRA2</autogen>
        <autogen>__KeyToKey__ KeyCode::JIS_EISUU, KeyCode::VK_MODIFIER_EXTRA1</autogen>
        <autogen>__KeyToKey__ KeyCode::JIS_KANA,  KeyCode::VK_MODIFIER_EXTRA2</autogen>
        <autogen>__KeyToKey__ KeyCode::CONTROL_L, KeyCode::COMMAND_L</autogen>

        <autogen>__KeyToKey__ KeyCode::Q,            ModifierFlag::NONE, KeyCode::SEMICOLON, ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::W,            ModifierFlag::NONE, KeyCode::COMMA                           </autogen>
        <autogen>__KeyToKey__ KeyCode::E,            ModifierFlag::NONE, KeyCode::DOT                             </autogen>
        <autogen>__KeyToKey__ KeyCode::R,            ModifierFlag::NONE, KeyCode::P                               </autogen>
        <autogen>__KeyToKey__ KeyCode::T,            ModifierFlag::NONE, KeyCode::Y                               </autogen>
        <autogen>__KeyToKey__ KeyCode::Y,            ModifierFlag::NONE, KeyCode::F                               </autogen>
        <autogen>__KeyToKey__ KeyCode::U,            ModifierFlag::NONE, KeyCode::G                               </autogen>
        <autogen>__KeyToKey__ KeyCode::I,            ModifierFlag::NONE, KeyCode::C                               </autogen>
        <autogen>__KeyToKey__ KeyCode::O,            ModifierFlag::NONE, KeyCode::R                               </autogen>
        <autogen>__KeyToKey__ KeyCode::P,            ModifierFlag::NONE, KeyCode::L                               </autogen>
        <autogen>__KeyToKey__ KeyCode::BRACKET_LEFT, ModifierFlag::NONE, KeyCode::SLASH                           </autogen>
        <autogen>__KeyToKey__ KeyCode::A,            ModifierFlag::NONE, KeyCode::A                               </autogen>
        <autogen>__KeyToKey__ KeyCode::S,            ModifierFlag::NONE, KeyCode::O                               </autogen>
        <autogen>__KeyToKey__ KeyCode::D,            ModifierFlag::NONE, KeyCode::E                               </autogen>
        <autogen>__KeyToKey__ KeyCode::F,            ModifierFlag::NONE, KeyCode::U                               </autogen>
        <autogen>__KeyToKey__ KeyCode::G,            ModifierFlag::NONE, KeyCode::I                               </autogen>
        <autogen>__KeyToKey__ KeyCode::H,            ModifierFlag::NONE, KeyCode::D                               </autogen>
        <autogen>__KeyToKey__ KeyCode::J,            ModifierFlag::NONE, KeyCode::H                               </autogen>
        <autogen>__KeyToKey__ KeyCode::K,            ModifierFlag::NONE, KeyCode::T                               </autogen>
        <autogen>__KeyToKey__ KeyCode::L,            ModifierFlag::NONE, KeyCode::N                               </autogen>
        <autogen>__KeyToKey__ KeyCode::SEMICOLON,    ModifierFlag::NONE, KeyCode::S                               </autogen>
        <autogen>__KeyToKey__ KeyCode::QUOTE,        ModifierFlag::NONE, KeyCode::MINUS                           </autogen>
        <autogen>__KeyToKey__ KeyCode::Z,            ModifierFlag::NONE, KeyCode::SEMICOLON                       </autogen>
        <autogen>__KeyToKey__ KeyCode::X,            ModifierFlag::NONE, KeyCode::Q                               </autogen>
        <autogen>__KeyToKey__ KeyCode::C,            ModifierFlag::NONE, KeyCode::J                               </autogen>
        <autogen>__KeyToKey__ KeyCode::V,            ModifierFlag::NONE, KeyCode::K                               </autogen>
        <autogen>__KeyToKey__ KeyCode::B,            ModifierFlag::NONE, KeyCode::X                               </autogen>
        <autogen>__KeyToKey__ KeyCode::N,            ModifierFlag::NONE, KeyCode::B                               </autogen>
        <autogen>__KeyToKey__ KeyCode::M,            ModifierFlag::NONE, KeyCode::M                               </autogen>
        <autogen>__KeyToKey__ KeyCode::COMMA,        ModifierFlag::NONE, KeyCode::W                               </autogen>
        <autogen>__KeyToKey__ KeyCode::DOT,          ModifierFlag::NONE, KeyCode::V                               </autogen>
        <autogen>__KeyToKey__ KeyCode::SLASH,        ModifierFlag::NONE, KeyCode::Z                               </autogen>

        <autogen>__KeyToKey__ KeyCode::Q,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::SEMICOLON, ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::W,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::COMMA                           </autogen>
        <autogen>__KeyToKey__ KeyCode::E,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::DOT                             </autogen>
        <autogen>__KeyToKey__ KeyCode::R,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::P                               </autogen>
        <autogen>__KeyToKey__ KeyCode::T,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::Y                               </autogen>
        <autogen>__KeyToKey__ KeyCode::Y,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::F                               </autogen>
        <autogen>__KeyToKey__ KeyCode::U,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::G                               </autogen>
        <autogen>__KeyToKey__ KeyCode::I,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::C                               </autogen>
        <autogen>__KeyToKey__ KeyCode::O,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::R                               </autogen>
        <autogen>__KeyToKey__ KeyCode::P,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::L                               </autogen>
        <autogen>__KeyToKey__ KeyCode::BRACKET_LEFT, ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::SLASH                           </autogen>
        <autogen>__KeyToKey__ KeyCode::A,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::A                               </autogen>
        <autogen>__KeyToKey__ KeyCode::S,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::O                               </autogen>
        <autogen>__KeyToKey__ KeyCode::D,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::E                               </autogen>
        <autogen>__KeyToKey__ KeyCode::F,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::U                               </autogen>
        <autogen>__KeyToKey__ KeyCode::G,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::I                               </autogen>
        <autogen>__KeyToKey__ KeyCode::H,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::D                               </autogen>
        <autogen>__KeyToKey__ KeyCode::J,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::H                               </autogen>
        <autogen>__KeyToKey__ KeyCode::K,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::T                               </autogen>
        <autogen>__KeyToKey__ KeyCode::L,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::N                               </autogen>
        <autogen>__KeyToKey__ KeyCode::SEMICOLON,    ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::S                               </autogen>
        <autogen>__KeyToKey__ KeyCode::QUOTE,        ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::MINUS                           </autogen>
        <autogen>__KeyToKey__ KeyCode::Z,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::SEMICOLON                       </autogen>
        <autogen>__KeyToKey__ KeyCode::X,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::Q                               </autogen>
        <autogen>__KeyToKey__ KeyCode::C,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::J                               </autogen>
        <autogen>__KeyToKey__ KeyCode::V,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::K                               </autogen>
        <autogen>__KeyToKey__ KeyCode::B,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::X                               </autogen>
        <autogen>__KeyToKey__ KeyCode::N,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::B                               </autogen>
        <autogen>__KeyToKey__ KeyCode::M,            ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::M                               </autogen>
        <autogen>__KeyToKey__ KeyCode::COMMA,        ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::W                               </autogen>
        <autogen>__KeyToKey__ KeyCode::DOT,          ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::V                               </autogen>
        <autogen>__KeyToKey__ KeyCode::SLASH,        ModifierFlag::CONTROL_L | ModifierFlag::NONE, KeyCode::Z                               </autogen>

        <autogen>__KeyToKey__ KeyCode::Q,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::KEY_8, ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::W,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::COMMA, ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::E,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::DOT,   ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::R,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::P,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::T,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::Y,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::Y,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::F,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::U,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::G,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::I,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::C,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::O,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::R,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::P,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::L,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::BRACKET_LEFT, ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::SLASH, ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::A,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::A,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::S,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::O,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::D,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::E,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::F,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::U,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::G,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::I,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::H,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::D,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::J,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::H,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::K,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::T,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::L,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::N,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::SEMICOLON,    ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::S,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::QUOTE,        ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::EQUAL                       </autogen>
        <autogen>__KeyToKey__ KeyCode::Z,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::EQUAL, ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::X,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::Q,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::C,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::J,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::V,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::K,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::B,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::X,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::N,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::B,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::M,            ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::M,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::COMMA,        ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::W,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::DOT,          ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::V,     ModifierFlag::SHIFT_L</autogen>
        <autogen>__KeyToKey__ KeyCode::SLASH,        ModifierFlag::EXTRA1 | ModifierFlag::NONE, KeyCode::Z,     ModifierFlag::SHIFT_L</autogen>

        <autogen>__KeyToKey__ KeyCode::Q,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE  </autogen>
        <autogen>__KeyToKey__ KeyCode::W,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::ESCAPE   </autogen>
        <autogen>__KeyToKey__ KeyCode::E,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::ENTER    </autogen>
        <autogen>__KeyToKey__ KeyCode::R,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE  </autogen>
        <autogen>__KeyToKey__ KeyCode::T,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE  </autogen>
        <autogen>__KeyToKey__ KeyCode::Y,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE  </autogen>
        <autogen>__KeyToKey__ KeyCode::U,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE  </autogen>
        <autogen>__KeyToKey__ KeyCode::I,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::DELETE   </autogen>
        <autogen>__KeyToKey__ KeyCode::O,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE  </autogen>
        <autogen>__KeyToKey__ KeyCode::P,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE  </autogen>
        <autogen>__KeyToKey__ KeyCode::BRACKET_LEFT, ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE  </autogen>
        <autogen>__KeyToKey__ KeyCode::A,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::KEY_1    </autogen>
        <autogen>__KeyToKey__ KeyCode::S,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::KEY_2    </autogen>
        <autogen>__KeyToKey__ KeyCode::D,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::KEY_3    </autogen>
        <autogen>__KeyToKey__ KeyCode::F,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::KEY_4    </autogen>
        <autogen>__KeyToKey__ KeyCode::G,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::KEY_5    </autogen>
        <autogen>__KeyToKey__ KeyCode::H,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::KEY_6    </autogen>
        <autogen>__KeyToKey__ KeyCode::J,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::KEY_7    </autogen>
        <autogen>__KeyToKey__ KeyCode::K,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::KEY_8    </autogen>
        <autogen>__KeyToKey__ KeyCode::L,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::KEY_9    </autogen>
        <autogen>__KeyToKey__ KeyCode::SEMICOLON,    ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::KEY_0    </autogen>
        <autogen>__KeyToKey__ KeyCode::QUOTE,        ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::BACKSLASH</autogen>
        <autogen>__KeyToKey__ KeyCode::Z,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE  </autogen>
        <autogen>__KeyToKey__ KeyCode::X,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE  </autogen>
        <autogen>__KeyToKey__ KeyCode::C,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE  </autogen>
        <autogen>__KeyToKey__ KeyCode::V,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE  </autogen>
        <autogen>__KeyToKey__ KeyCode::B,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE  </autogen>
        <autogen>__KeyToKey__ KeyCode::N,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE  </autogen>
        <autogen>__KeyToKey__ KeyCode::M,            ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE  </autogen>
        <autogen>__KeyToKey__ KeyCode::COMMA,        ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE  </autogen>
        <autogen>__KeyToKey__ KeyCode::DOT,          ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE  </autogen>
        <autogen>__KeyToKey__ KeyCode::SLASH,        ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE  </autogen>

        <autogen>__KeyToKey__ KeyCode::Q,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE                              </autogen> 
        <autogen>__KeyToKey__ KeyCode::W,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::KEY_1,         ModifierFlag::SHIFT_L </autogen> 
        <autogen>__KeyToKey__ KeyCode::E,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::QUOTE,         ModifierFlag::SHIFT_L </autogen> 
        <autogen>__KeyToKey__ KeyCode::R,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::KEY_3,         ModifierFlag::SHIFT_L </autogen> 
        <autogen>__KeyToKey__ KeyCode::T,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE                              </autogen> 
        <autogen>__KeyToKey__ KeyCode::Y,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE                              </autogen> 
        <autogen>__KeyToKey__ KeyCode::U,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::QUOTE                                </autogen> 
        <autogen>__KeyToKey__ KeyCode::I,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::MINUS,         ModifierFlag::SHIFT_L </autogen> 
        <autogen>__KeyToKey__ KeyCode::O,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::KEY_7,         ModifierFlag::SHIFT_L </autogen> 
        <autogen>__KeyToKey__ KeyCode::P,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE                              </autogen> 
        <autogen>__KeyToKey__ KeyCode::BRACKET_LEFT, ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE                              </autogen> 
        <autogen>__KeyToKey__ KeyCode::A,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE                              </autogen> 
        <autogen>__KeyToKey__ KeyCode::S,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::KEY_6,         ModifierFlag::SHIFT_L </autogen> 
        <autogen>__KeyToKey__ KeyCode::D,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::BRACKET_LEFT,  ModifierFlag::SHIFT_L </autogen> 
        <autogen>__KeyToKey__ KeyCode::F,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::KEY_9,         ModifierFlag::SHIFT_L </autogen> 
        <autogen>__KeyToKey__ KeyCode::G,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::BRACKET_LEFT                         </autogen> 
        <autogen>__KeyToKey__ KeyCode::H,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::BRACKET_RIGHT                        </autogen> 
        <autogen>__KeyToKey__ KeyCode::J,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::KEY_0,         ModifierFlag::SHIFT_L </autogen> 
        <autogen>__KeyToKey__ KeyCode::K,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::BRACKET_RIGHT, ModifierFlag::SHIFT_L </autogen> 
        <autogen>__KeyToKey__ KeyCode::L,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::KEY_4,         ModifierFlag::SHIFT_L </autogen> 
        <autogen>__KeyToKey__ KeyCode::SEMICOLON,    ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::BACKQUOTE,     ModifierFlag::SHIFT_L </autogen> 
        <autogen>__KeyToKey__ KeyCode::QUOTE,        ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE                              </autogen> 
        <autogen>__KeyToKey__ KeyCode::Z,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE                              </autogen> 
        <autogen>__KeyToKey__ KeyCode::X,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE                              </autogen> 
        <autogen>__KeyToKey__ KeyCode::C,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::KEY_5,         ModifierFlag::SHIFT_L </autogen> 
        <autogen>__KeyToKey__ KeyCode::V,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::KEY_2,         ModifierFlag::SHIFT_L </autogen> 
        <autogen>__KeyToKey__ KeyCode::B,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE                              </autogen> 
        <autogen>__KeyToKey__ KeyCode::N,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::BACKSLASH,     ModifierFlag::SHIFT_L </autogen> 
        <autogen>__KeyToKey__ KeyCode::M,            ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::BACKQUOTE                            </autogen> 
        <autogen>__KeyToKey__ KeyCode::COMMA,        ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE                              </autogen> 
        <autogen>__KeyToKey__ KeyCode::DOT,          ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE                              </autogen> 
        <autogen>__KeyToKey__ KeyCode::SLASH,        ModifierFlag::EXTRA1 | ModifierFlag::EXTRA2 | ModifierFlag::NONE, KeyCode::VK_NONE                              </autogen> 
    </item>
</root>

とても快適になりました。

担当:美馬(そろそろこのキー配列を見直したい)

Comments are closed.