Tuesday, July 29, 2008

MultiClutch Keycodes

On MacBook Pro, I use MultiClutch to add some convenient gestures to my desktop. This application surely opens the potential of the multi-touch pad. However, I'm having trouble bind arbitrary hotkeys to various gestures, so I look into the source code and found that if you input the keycodes directly, you can setup any key bindings.

You can edit the file:
/Users/YourLogin/Library/Preferences/com.wonderboots.MultiClutchBindings.plist

These is my setting, in which you can find Command-Tab which is usually not allowed in the interface.



<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>bindings</key>
<dict>
<key>Firefox</key>
<dict>
<key>Rotate Left</key>
<string>56,55,33</string>
<key>Rotate Right</key>
<string>56,55,30</string>
<key>Supports_Rotate</key>
<string>true</string>
<key>Supports_Zoom</key>
<string>false</string>
<key>Swipe Left</key>
<string>55,123</string>
<key>Swipe Right</key>
<string>55,124</string>
</dict>
<key>Global</key>
<dict>
<key>Supports_Rotate</key>
<string>false</string>
<key>Supports_Zoom</key>
<string>true</string>
<key>Swipe Down</key>
<string>55048</string>
<key>Swipe Left</key>
<string>56055048</string>
<key>Zoom In</key>
<string>55069</string>
<key>Zoom Out</key>
<string>55078</string>
<key>Zoom Out, Zoom In</key>
<string>100</string>
</dict>
</dict>
<key>donateHidden</key>
<string>NO</string>
<key>version</key>
<string>b4</string>
</dict>
</plist>

No comments:

Post a Comment