Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Real quick, I own a Macbook Pro 2010.

I recently purchased a new Razer Naga mouse, and aside from using it for gaming, I've been adding various keyboard shortcuts into my mouse's side buttons. Whenever I try using the buttons to control my Macbook's volume and for controlling music play, I'm noticing that the buttons register as F7 - F12 rather than what I'm intending.

I was wondering, would anyone happen to know the exact keyboard commands in order to control the volume and music playing?

share|improve this question
add comment

2 Answers

KeyRemap4MacBook worked with my trackball:

<item>
<name>test</name>
<identifier>private.test</identifier>
<autogen>__PointingButtonToKey__ PointingButton::BUTTON4, KeyCode::VK_CONSUMERKEY_VOLUME_UP, ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L</autogen>
<autogen>__PointingButtonToKey__ PointingButton::BUTTON5, KeyCode::VK_CONSUMERKEY_VOLUME_DOWN, ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L</autogen>
</item>

See the source for the key code values and predefined settings.

share|improve this answer
add comment

Go into System Preferences > Keyboard and under the Keyboard tab, check of Use all F1, F2, etc. keys as standard function keys, as in the image below. Then, you can use the Rewind function as Fn - F7, Play/Pause as Fn - F8, etc (you can then map the buttons on your mouse to these).

enter image description here

share|improve this answer
    
I know that, however F12 for instance opens the dashboard rather than do Volume Up like I'm wanting. –  Valrok Sep 23 '12 at 3:46
    
have you re-assigned F7 - F12 to different functions? –  Ethan Lee Sep 23 '12 at 3:55
    
No, that is what it normally is whenever you use the actual F# buttons. When attempting to get the features that I want tho on my new mouse, it registers the actual F# rather than the special symbols –  Valrok Sep 23 '12 at 3:59
    
ok thanks, editing answer accordingly –  Ethan Lee Sep 23 '12 at 4:10
add comment

Your Answer

 
discard

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.