Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I already have the KeyRemap4MacBook and need private.xml that will do this. I read the manual and tried a few things with no luck.

share|improve this question

Use ConsumerToKey:

<?xml version="1.0"?>
    <autogen>__ConsumerToKey__ ConsumerKeyCode::EJECT, KeyCode::J</autogen>

Eject keys have a small delay by default, but you can remove it with NoEjectDelay.

share|improve this answer
Thanks Lauri but what about the shift modifier to change small j to caps J? – lazynomore Jun 5 '13 at 14:28
It also changes for example shift+eject to shift+J unless you add | ModifierFlag::NONE. – user495470 Jun 5 '13 at 14:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.