Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Mapping volume and eject keys to 3rd-party keyboard' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Mapping volume and eject keys to 3rd-party keyboard
Authored by: milkmage on May 19, '11 04:46:20PM

I have a DAS, and F12 just works (MacPro), option or ctrl (i forget) +F12 will eject the second optical drive if you have one.

not sure if there are volume equivalents though. I'll have to try this when I get home.

[ Reply to This | # ]
Mapping volume and eject keys to 3rd-party keyboard
Authored by: ivan_liao on May 21, '11 12:05:53AM

I also use a Cherry switcher keyboard after my G5 keyboard is retired, and I found a perfect way to remap the keys.

I modify private.xml instead of checkbox.xml, the benefit is I can also enable "Don't remap Apple's keyboards" and "Don't remap Apple's pointing devices" that provided by checkbox.xml.

I remap PC_Application key as Eject, and remap PC_PrintScreen/PC_ScrollLock/PC_Pause as Volume_Down/Volume_Up/Mute.

I use PC_Application as Eject, so that I can easier press WIN_R+ALT_R+APP to let my MAC sleep, because all these 3 keys are together.

Here is my code:
~/Library/Application\ Support/KeyRemap4MacBook/private.xml

<?xml version="1.0"?>
<name>Volume and Eject Keys</name>
<appendix>Up, Down, Mute, Eject</appendix>
<autogen>--KeyToConsumer-- KeyCode::PC_PRINTSCREEN, ConsumerKeyCode::VOLUME_DOWN</autogen>
<autogen>--KeyToConsumer-- KeyCode::PC_SCROLLLOCK, ConsumerKeyCode::VOLUME_UP</autogen>
<autogen>--KeyToConsumer-- KeyCode::PC_PAUSE, ConsumerKeyCode::VOLUME_MUTE</autogen>
<autogen>--KeyToConsumer-- KeyCode::PC_APPLICATION, ConsumerKeyCode::EJECT</autogen>

[ Reply to This | # ]