Logitech R400 and R800 with Keynote

As mentioned in this post, LPresent does not work with recent macs.

Newer macs register R400 as a keyboard. To make it work with Keynote, we have to remap the keycode of the remote to the respective Keynote shortcut. I found a program “KeyRemap4MacBook” (free) to do the remap work.

This program has great functionality. It comes with hundreds (or thousands) stock keyboard configs and it is super easy to add new mapping rules.

I created a set of rules to do the mapping for R400 to control Keynote (private.xml.txt). Load this into KeyRemap4Macbook and you get this (copy the text into your private.xml),

Screen shot 2011-03-28 at 3.18.44 PM.png

Check the R400 group and “Don’t remap an internal keyboard”. I put the new rule in a separate setting so I can switch it on and off with only a mouse click.

Screen shot 2011-03-28 at 3.37.42 PM.png

Resources:

Facebooktwittergoogle_plusredditpinterestlinkedinmail

20 thoughts on “Logitech R400 and R800 with Keynote”

  1. Thank for this post! I was verry disapointed purchasing the Logitech R400 (afraid to push the wrong button during my presentation). Now I’m happy and a big smirk appeared on my face from ear to ear. Again: Thanks!

  2. Have you noticed any problem with it jumping forward on a single forward button push, or when I try to black the screen sometimes, it flashes, as though I hit the button quickly?

    I don’t remember this being an issue before. Maybe the mac is more sensitive to how long I have the button pressed?

  3. Any help appreciated…
    Is there any way I can get the forward, backward and play buttons to work with eyetv vlc and or mplayer? Or is my logitech r400 going to go back to the shop?

  4. If any function you want to perform with r400 can be done via a key (or combination of keys) on keyboard, you can write a config for KeyRemap4MacBook just like what i did to make r400 work with Keynote.

  5. I have an enhancement to this code. You can add lines to the private.xml so that the remap only occurs for the Logitech, and also modify it so that the “Play Presentation” button works in *both* Keynote and PowerPoint.

    Here is the code: (Note the vendor ID and product ID may differ on your system. To check them, see these instructions: http://pqrs.org/macosx/keyremap4macbook/xml-devicedef.html.en)

    LOGITECH
    0x046d

    LOGITECH_POINTER
    0xc52d

    R400 to function for Keynote
    Change remote . to b
    Change remote F5 to Option-Cmd-P
    Change remote PageUp to [
    private.logitech_presenter_keynote
    DeviceVendor::LOGITECH, DeviceProduct::LOGITECH_POINTER
    –KeyToKey– KeyCode::DOT, KeyCode::B
    –KeyToKey– KeyCode::F5, ModifierFlag::NONE, KeyCode::P, ModifierFlag::OPTION_L | ModifierFlag::COMMAND_L,KeyCode::F5, ModifierFlag::NONE

    –KeyToKey– KeyCode::PAGEUP, KeyCode::BRACKET_LEFT

  6. Oops – the xml code is badly formed in the comments box. Sorry – I didn’t use the right mark up. Here’s another try:

    LOGITECH
    0x046d

    LOGITECH_POINTER
    0xc52d

    R400 to function for Keynote
    Change remote . to b
    Change remote F5 to Option-Cmd-P
    Change remote PageUp to [
    private.logitech_presenter_keynote
    DeviceVendor::LOGITECH, DeviceProduct::LOGITECH_POINTER
    --KeyToKey-- KeyCode::DOT, KeyCode::B
    --KeyToKey-- KeyCode::F5, ModifierFlag::NONE, KeyCode::P, ModifierFlag::OPTION_L | ModifierFlag::COMMAND_L,KeyCode::F5, ModifierFlag::NONE

    --KeyToKey-- KeyCode::PAGEUP, KeyCode::BRACKET_LEFT

  7. Hi Dan,

    Thanks for this info. Exactly what I was looking for and saved me the trouble of figuring out the correct XML myself. After editing the private.xml file I had to restart KeyRemap4MacBook to make it work. Is this necessary for everyone or just me? Maybe you can add a note about this.

    Kind regards,
    Klaas Jan Wierenga

  8. I have modified the code a little to limit the mapped keys to be working only on Keynote. My code is looked like this

    [code language=”xml”]

    LOGITECH
    0x046d

    LOGITECH_POINTER
    0xc52d

    KEYNOTE
    com.apple.iWork.Keynote

    R400 to function for Keynote
    Change remote . to b
    Change remote F5 to Option-Cmd-P
    private.logitech_presenter_keynote
    DeviceVendor::LOGITECH, DeviceProduct::LOGITECH_POINTER
    KEYNOTE
    –KeyToKey– KeyCode::DOT, KeyCode::B
    –KeyToKey– KeyCode::F5, ModifierFlag::NONE, KeyCode::P, ModifierFlag::OPTION_L | ModifierFlag::COMMAND_L

    [/code]

    *Not sure if the code formatting is correct here, so check out my blog if that’s the case -> http://wp.me/ptWHI-se

  9. I have noticed you don’t monetize your page, don’t waste your traffic, you can earn extra bucks every month
    because you’ve got high quality content. If you want to know how to make extra bucks, search for: Ercannou’s essential adsense alternative

Leave a Reply

Your email address will not be published. Required fields are marked *