How Do I Choose The Device That Volume Media Keys Control?

Sycobob

New member
Local time
12:35 AM
Messages
2
Specifically, this applies to the Logitech G510 keyboard, but concerns any compound HID device with media keys and USB audio.

In Windows 7 (Ultimate x64), it seems the default behavior for handling volume changes from media keys is to apply them to the default audio device. That is, unless the device sending the volume keys happens to also contain a soundcard, in which case Windows applies the volume changes to the device. On the surface this makes sense, but in practice it can be mildly annoying to some people. Consider the case with my keyboard: on most days, I have a plain old keyboard with media keys. My media keys control iTunes in the background and change my default system volume. Works great. But my keyboard has ports for a headset w/mic. When I plug in my headset my plain old keyboard is now keyboard+media keys+playback device+recording device. Now, Windows decides volume media keys originating from the keyboard should be applied to my headset volume. Bummer.

This is what I'm looking to change. I want the volume keys to continue affecting the default playback device (my headset has inline volume control). I'm hoping it's just a registry edit, but I'm willing to pick apart whatever I have to to make the change. Is anyone able to help me out? Thanks.

PS: It may be worth noting this only applies to media keys using USB scan codes. If the device happens to use the PS/2 scan codes for Mute, Vol Up, and Vol Down the changes are applied to the default playback device. This provides another alternative way of changing the behavior: if I can remap the action taken for the USB scan code to the action taken for the PS/2, it would also accomplish what I'm after.
 

My Computer My Computer

At a glance

Win7 Ult x64AMD Phenom II x4 970 BE2x2GB DDR3 2000 GSkill PISATI Radeon HD 5850 (XFX)
OS
Win7 Ult x64
CPU
AMD Phenom II x4 970 BE
Motherboard
MSI 890FXA-GD70
Memory
2x2GB DDR3 2000 GSkill PIS
Graphics Card(s)
ATI Radeon HD 5850 (XFX)
Monitor(s) Displays
Hanns-G 2ms 28"
Hard Drives
OCZ Agility II 60GB SSD
Seagate Barracuda 1TB
PSU
XFX 650W
Case
Antec Three Hundred Illusion
Cooling
Zalman CNPS9900MAX-B
Hi and welcome to SevenForums!

I haven't read the whole explanation, but this tutorial should answer your question.
 

My Computer My Computer

At a glance

Windows 7 Ultimate 64 bit SP1Intel(R) Core(TM) i5-2500K12GB Kingston Hyperx 1600MHzAsus GTS 450
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built PC
OS
Windows 7 Ultimate 64 bit SP1
CPU
Intel(R) Core(TM) i5-2500K
Motherboard
Gigabyte Technology Co., Ltd. Z68X-UD3-B3
Memory
12GB Kingston Hyperx 1600MHz
Graphics Card(s)
Asus GTS 450
PSU
500W Coolink
Other Info
Genius G-Pen F610 (PenPad)
Thanks, but changing the default devices doesn't help. Because the multimedia key presses are coming from the same USB interface as the sound device, Windows automatically decides that's what it should control, rather than the default audio device (which is what I want it to do). I can verify this by using multimedia keys on another USB device or plugging the headset into the computer instead of the keyboard and the audio controls act as expected.
 

My Computer My Computer

At a glance

Win7 Ult x64AMD Phenom II x4 970 BE2x2GB DDR3 2000 GSkill PISATI Radeon HD 5850 (XFX)
OS
Win7 Ult x64
CPU
AMD Phenom II x4 970 BE
Motherboard
MSI 890FXA-GD70
Memory
2x2GB DDR3 2000 GSkill PIS
Graphics Card(s)
ATI Radeon HD 5850 (XFX)
Monitor(s) Displays
Hanns-G 2ms 28"
Hard Drives
OCZ Agility II 60GB SSD
Seagate Barracuda 1TB
PSU
XFX 650W
Case
Antec Three Hundred Illusion
Cooling
Zalman CNPS9900MAX-B
Back
Top