I believe you hit the MR button, then on the lcd it will tell you to hit a G key. Then it tells you to hit the key or keys that the G-key will macro. So, for quake you would hit space for jump. Then hit the MR key again.
Now, hitting that G-key will have the same affect as hitting space.