Skip to content

Instantly share code, notes, and snippets.

@vzaccaria
Created October 14, 2012 21:10
Show Gist options
  • Save vzaccaria/3889825 to your computer and use it in GitHub Desktop.
Save vzaccaria/3889825 to your computer and use it in GitHub Desktop.
Keyremapper - XML file to support Logitech R800 Remote in Apple Keynote's and Preview
<?xml version="1.0"?>
<root>
<item>
<name>Logitech R800</name>
<item>
<name>Logitech R800 - Keynote</name>
<identifier>private.R800.k</identifier>
<only>IWORK_KEYNOTE</only>
<autogen>
--KeyToKey--
KeyCode::DOT,
KeyCode::B
</autogen>
<autogen>
--KeyToKey--
KeyCode::ESCAPE,
KeyCode::P, ModifierFlag::OPTION_L | ModifierFlag::COMMAND_L
</autogen>
<autogen>
--KeyToKey--
KeyCode::F5,
KeyCode::P, ModifierFlag::OPTION_L | ModifierFlag::COMMAND_L
</autogen>
</item>
<item>
<name>Logitech R800 - Preview</name>
<identifier>private.R800.p</identifier>
<only>PREVIEW</only>
<autogen>
--KeyToKey--
KeyCode::ESCAPE,
KeyCode::F, ModifierFlag::CONTROL_L | ModifierFlag::COMMAND_L
</autogen>
<autogen>
--KeyToKey--
KeyCode::F5,
KeyCode::F, ModifierFlag::CONTROL_L | ModifierFlag::COMMAND_L
</autogen>
<autogen>
--KeyToKey--
KeyCode::PAGEUP,
KeyCode::CURSOR_LEFT, ModifierFlag::OPTION_L
</autogen>
<autogen>
--KeyToKey--
KeyCode::PAGEDOWN,
KeyCode::CURSOR_RIGHT, ModifierFlag::OPTION_L
</autogen>
</item>
</item>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment