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),
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.