MacBook – Modify Expose button on the macbook for another shortcut

exposekeyboardmacbook pro

The F3 button on my rMBP has a figure which shows 3 rectangles, pressing the button without the FN key initiates the Expose function. I want to modify that key for another function. However I cannot directly modify it via preferences because pressing that button does not register as a specific keyboard shortcut.

Best Answer

You could also change it to a normal F-key with FunctionFlip.

If anyone else is looking for a way to change it with KeyRemap4MacBook, just create a private.xml like this:

<?xml version="1.0"?>
<root>
<item>
<name>test</name>
<identifier>test</identifier>
<autogen>--KeyToKey-- KeyCode::EXPOSE_ALL, KeyCode::F19</autogen>
</item>
</root>

The keycode constants are defined in src/bridge/generator/keycode/data. The test folder has a checkbox.xml with all the predefined mappings.