MACで5ボタンマウスのキー割り当て
仕事でMACを渡されましたが、
マウスでコピー&ペーストはしたいと思いまして、
調べたのでメモです。
Karabiner
というアプリをインストールする必要があります。
Karabinerを起動したら
Misc & Uninstall タブを選ぶ
Open private.xml を選ぶとフォルダーが開かれる
private.xmlをテキストエディタなどで編集する。
下記のように書けばよいはず
<?xml version="1.0"?>
<root>
<item>
<name>Mouse Button 4 and 5</name>
<identifier>remap.mouse_button_4_5</identifier>
<autogen>
__KeyToKey__ PointingButton::BUTTON4,
KeyCode::C, ModifierFlag::COMMAND_L
</autogen>
<autogen>
__KeyToKey__ PointingButton::BUTTON5,
KeyCode::V, ModifierFlag::COMMAND_L
</autogen>
</item>
</root>
xmlを再度読み込んで、
Mouse Button 4 and 5
ってところを有効にすると、
マウスでコピー&ペーストができるようになります。