I wanted to see if I could remap my dashboard key to LaunchPad on my pre-Lion MacBook. Here's a fairly easy way to do it.
Install KeyRemap4MacBook (it's free) on your computer. In System Preferences open the KeyRemap4MacBook pane and select Misc & Uninstall.
Select Open private.xml and then edit the revealed file to contain the following text:
<?xml version="1.0"?> <root> <item> <name>Map Expose All to F18</name> <identifier>private.expose_all_to_f18</identifier> <autogen>--KeyToKey-- KeyCode::EXPOSE_ALL, KeyCode::F18</autogen> </item> <item> <name>Map Dashboard to F19</name> <identifier>private.dashboard_to_f19</identifier> <autogen>--KeyToKey-- KeyCode::DASHBOARD, KeyCode::F19</autogen> </item> </root>
Mac OS X Hints
http://hints.macworld.com/article.php?story=20110728074912405