56fc7e2 Jan 19, 2014
65 lines (56 sloc) 2.33 KB
<?xml version="1.0"?>
<root>
<item>
<name>Swap Space and Tab</name>
<identifier>private.swap_space_and_tab</identifier>
<autogen>__KeyToKey__ KeyCode::SPACE, KeyCode::TAB</autogen>
<autogen>__KeyToKey__ KeyCode::TAB, KeyCode::SPACE</autogen>
</item>
<item>
<name>My Excel Hacks (effective only on Excel)</name>
<appendix>Change Command+2 to Ctrl+U</appendix>
<appendix>Change Control+A to Home</appendix>
<appendix>Change Control+E to End</appendix>
<identifier>private.app_excel_command2_to_ctrlu</identifier>
<only>EXCEL</only>
<autogen>__KeyToKey__ KeyCode::KEY_2, VK_COMMAND, KeyCode::U, ModifierFlag::CONTROL_L</autogen>
<autogen>__KeyToKey__ KeyCode::A, VK_CONTROL, KeyCode::HOME</autogen>
<autogen>__KeyToKey__ KeyCode::E, VK_CONTROL, KeyCode::END</autogen>
</item>
<item>
<name>My TrackPad LeftClick Hack</name>
<appendix>Command+LeftClick to F12 (only on MacBookPro2,1 Trackpad)</appendix>
<identifier>private.pointing_leftclick2f12_trackpad</identifier>
<device_only>DeviceVendor::APPLE_COMPUTER,DeviceProduct::APPLE_INTERNAL_KEYBOARD_TRACKPAD_0x021a</device_only>
<autogen>__KeyToKey__ PointingButton::LEFT, VK_COMMAND, KeyCode::F12</autogen>
</item>
<!-- ============================================================ -->
<!-- An example of appdef -->
<appdef>
<appname>APPSTORE</appname>
<equal>com.apple.appstore</equal>
</appdef>
<item>
<name>Space to Tab on App Store.app</name>
<identifier>private.appdef</identifier>
<only>APPSTORE</only>
<autogen>__KeyToKey__ KeyCode::SPACE, KeyCode::TAB</autogen>
</item>
<!-- ============================================================ -->
<!-- An example of devicevendordef,deviceproductdef -->
<devicevendordef>
<vendorname>HEWLETT_PACKARD</vendorname>
<vendorid>0x03f0</vendorid>
</devicevendordef>
<deviceproductdef>
<productname>MY_HP_KEYBOARD</productname>
<productid>0x0224</productid>
</deviceproductdef>
<item>
<name>Space to Tab on MY_HP_KEYBOARD</name>
<identifier>private.deviceproductdef</identifier>
<device_only>DeviceVendor::HEWLETT_PACKARD, DeviceProduct::MY_HP_KEYBOARD</device_only>
<autogen>__KeyToKey__ KeyCode::SPACE, KeyCode::TAB</autogen>
</item>
<!-- ============================================================ -->
</root>