Help - Search - Members - Calendar
Full Version: Multimedia keyboards + foobar2000: A complete guide
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
Pages: 1, 2
ChronoSphere
QUOTE(gfngfgf @ Mar 18 2007, 18:32) *

This method is mentioned in the first post (Addendum A). You need to edit the window class to match the one that Columns UI uses (instructions in the first post).
No, look carefully: (first line, Addendum A; second - mine)
foobar2000=wac,foobar2000.exe,{DA7CD0DE-1602-45e6-89A1-C2CA151E008E}/1,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,foobar2000
foobar2000=cmd,foobar2000.exe,{DA7CD0DE-1602-45e6-89A1-C2CA151E008E}/1,xxx,xxx,40009,40044,40010,40051,40011,0,1,foobar2000

I tried changing the class to the ColumnsUI one, doesn't work, all keys stop working. Maybe ColumnsUI uses different cmd IDs <.<


PedroQ
For those using Columns UI:
CODE
[Players]
foobar2000=wac,foobar2000.exe,
{E7076D1C-A7BF-4f39-B771-BCBE88F2A2A8},xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,foobar2000


HTH
alphameric
QUOTE(AlexVallat @ Mar 2 2007, 13:35) *

Interesting SetPoint hacking


this is exactly what i needed.
the typical classid method outlined elsewhere does not work for Panels UI.
For your method, all i had to do was set the media buttons to silent, then boot up setpoint.
After that foobar recognized my media keys and i could set them globally biggrin.gif biggrin.gif
knocker
QUOTE(AlexVallat @ Mar 2 2007, 19:35) *

Interesting SetPoint hacking

I've been using a Logitech keyboard with multimedia keys successfully for a while now, by not having SetPoint installed, but recently got myself a Logitech mouse too. Now I need to have SetPoint running, and it grabs hold of control of the keyboard too, ruining all the multimedia keys which used to work just fine.

I've been hacking about with SetPoint for some time, and come across the following. If you close SetPoint, then open your settings file in \Documents and Settings\username\Application Data\Logitech\SetPoint\user.xml, you should find a Device element with the DisplayName of your keyboard, and Class="KeyboardDevice". In it, there are a bunch of Button elements, with nice descriptive Names. Find the buttons you want to fix, and for each one, look inside the Trigger element for a Param element which has an attribute Silent="0". Change that to Silent="1". Once you've done that to all the media buttons you want to fix, save the file, and start SetPoint again. Those buttons with Silent="0" you can still set the behaviour for in SetPoint (which is handy for those buttons which don't have a standard behaviour), and those buttons with Silent="1" behave as if SetPoint was not running. Result!

Hope this is useful to others too,

Alex


Thats definitely useful, works perfectly! Thanks alot ~

PS: I quoted the whole post so people dont have to look for it wink.gif
math
QUOTE(AlexVallat @ Mar 2 2007, 19:35) *



I've been hacking about with SetPoint for some time, and come across the following. If you close SetPoint, then open your settings file in \Documents and Settings\username\Application Data\Logitech\SetPoint\user.xml, you should find a Device element with the DisplayName of your keyboard, and Class="KeyboardDevice". In it, there are a bunch of Button elements, with nice descriptive Names. Find the buttons you want to fix, and for each one, look inside the Trigger element for a Param element which has an attribute Silent="0". Change that to Silent="1". Once you've done that to all the media buttons you want to fix, save the file, and start SetPoint again. Those buttons with Silent="0" you can still set the behaviour for in SetPoint (which is handy for those buttons which don't have a standard behaviour), and those buttons with Silent="1" behave as if SetPoint was not running. Result!




This is THE method for dealing with Setpoint, don't bother with all that other complicated id stuff... this is easy and works.
Pingue
Has anyone got any idea how to un register such keys from WMP. I have an Acer Laptop with media keys only with the Fn button, but they still only register to WMP. at the moment, I'm just using Ctrl-Alt instead of Fn. Are there some registry values to get rid of this??? Thanks!
sandeep108
Nice post. But problem is there with MS Intellitype. I see no point in disabling the MM keys just to get them working when fb2k is minimised. Then in other media players they do not work. Rather leave fb2k window open and they work just fine. Of course volume is still tied to windows volume and not fb2k, but well, how much does that matter?
MiSP
QUOTE(math @ Jun 15 2007, 02:53) *

QUOTE(AlexVallat @ Mar 2 2007, 19:35) *



I've been hacking about with SetPoint for some time, and come across the following. If you close SetPoint, then open your settings file in \Documents and Settings\username\Application Data\Logitech\SetPoint\user.xml, you should find a Device element with the DisplayName of your keyboard, and Class="KeyboardDevice". In it, there are a bunch of Button elements, with nice descriptive Names. Find the buttons you want to fix, and for each one, look inside the Trigger element for a Param element which has an attribute Silent="0". Change that to Silent="1". Once you've done that to all the media buttons you want to fix, save the file, and start SetPoint again. Those buttons with Silent="0" you can still set the behaviour for in SetPoint (which is handy for those buttons which don't have a standard behaviour), and those buttons with Silent="1" behave as if SetPoint was not running. Result!




This is THE method for dealing with Setpoint, don't bother with all that other complicated id stuff... this is easy and works.

I just tried this, and can confirm that it works perfectly. Note that using Logitech DiNovo Edge, the keys to be changed is Name=F5 to Name=F8 - there's no nice descripting names for "next" or "previous" or the likes unless you dig a little deeper.
Mesingel
QUOTE(AlexVallat @ Mar 2 2007, 20:35) *

Interesting SetPoint hacking

I've been using a Logitech keyboard with multimedia keys successfully for a while now, by not having SetPoint installed, but recently got myself a Logitech mouse too. Now I need to have SetPoint running, and it grabs hold of control of the keyboard too, ruining all the multimedia keys which used to work just fine.

I've been hacking about with SetPoint for some time, and come across the following. If you close SetPoint, then open your settings file in \Documents and Settings\username\Application Data\Logitech\SetPoint\user.xml, you should find a Device element with the DisplayName of your keyboard, and Class="KeyboardDevice". In it, there are a bunch of Button elements, with nice descriptive Names. Find the buttons you want to fix, and for each one, look inside the Trigger element for a Param element which has an attribute Silent="0". Change that to Silent="1". Once you've done that to all the media buttons you want to fix, save the file, and start SetPoint again. Those buttons with Silent="0" you can still set the behaviour for in SetPoint (which is handy for those buttons which don't have a standard behaviour), and those buttons with Silent="1" behave as if SetPoint was not running. Result!

Hope this is useful to others too,

Alex
YOU TOTALLY PWN !
At last, after 2 days of (intensive) browsing, I finally found someone who struck the answer, AND ACTUALLY CARED TO SHARE IT!
<3 Alex!

Oh yeah, I use a UltraX Cordless Desktop, and it worked like a charm.
trackfan504
Interesting topic! Got everything working by reading through entire post but dang volume control.

Setpoint 4.0
Logiblech S510
XP Sp2
Foobar 9.4.3
columns ui 0.13 beta

Once I figured out to use notepad.exe to edit user.xml instead of Iexploder I for sure thought inserting "1" to volume up/down silent trigger did the trick!
When in try to configure fb keyboard shortcuts and press volume + or - nothing shows up in Key box.

Also learned it pays off to first read entire post before banging your head against the wall for little switches like /1 crying.gif

Any other tips to get volume button to behave?

Using e-mu 1820m pci soundcard if that makes any difference.
Cheers
AlexVallat
Thanks for the kind words, Mesingel!

trackfan504, the volume buttons work for me (Logitech Media Keyboard Elite), so in principle there's no reason why they shouldn't work.

Things to try:
  • Is set-point still handling the volume keys - does the OSD show up?
  • Do the volume buttons show in the keyboard shortcut box when SetPoint is not running?
  • Do the volume keys actually change the main volume control when SetPoint is not running?
  • What were the names of the volume Button elements that you changed? Mine are "Volume Up Controller" (number 786665) and "Volume Down Controller" (number 786666).
  • I assume as you got the other keys working that the changes to user.xml have been recognised by SetPoint, which means you changed the right file, and SetPoint wasn't running while you did it.

Alex
trackfan504
trackfan504, the volume buttons work for me (Logitech Media Keyboard Elite), so in principle there's no reason why they shouldn't work.

In principle...I should have figured this out by now

huh.gif

Things to try:
  • Is set-point still handling the volume keys - does the OSD show up? Nope, even playing
    WMP10 , no OSD

  • Do the volume buttons show in the keyboard shortcut box when SetPoint is not running? no, either with or w/o setpoint, nuttin' in Key box.
  • Do the volume keys actually change the main volume control when SetPoint is not running? No

  • What were the names of the volume Button elements that you changed? Mine are "Volume Up Controller" (number 786665) and "Volume Down Controller" (number 786666). Same ID for S510 elements.
  • I assume as you got the other keys working that the changes to user.xml have been recognised by SetPoint, which means you changed the right file, and SetPoint wasn't running while you did it.

    Yes, even without hacking xml, anything but volume control seems to be working fine.

    Another thing that kinda blows with Setpoint software is --> S3 standby no longer works properly....but I digress.

    Thanks for the feedback.

Alex
[/quote]
AlexVallat
QUOTE(trackfan504 @ Jul 22 2007, 06:41) *
  • Do the volume keys actually change the main volume control when SetPoint is not running? No

That would seem to suggest that the keyboard is not actually sending volume up and volume down keypresses when those keys are pressed. Which in turn suggests that they will only work with SetPoint handling them, as they aren't normal buttons but some sort of custom hardware that only SetPoint can detect. Bad news, I'm afraid.

Getting a bit off-topic with the standby, but you might look into the device properties of the keyboard (and mouse, if SetPoint controlled) in the device manager, and unchecking "Allow this device to bring the computer out of standby" on the "Power Management" tab.
trackfan504
QUOTE(AlexVallat @ Jul 21 2007, 23:07) *

QUOTE(trackfan504 @ Jul 22 2007, 06:41) *
  • Do the volume keys actually change the main volume control when SetPoint is not running? No

That would seem to suggest that the keyboard is not actually sending volume up and volume down keypresses when those keys are pressed. Which in turn suggests that they will only work with SetPoint handling them, as they aren't normal buttons but some sort of custom hardware that only SetPoint can detect. Bad news, I'm afraid.

As mentioned, I tried volume control either with or without running Setpoint. Since it doesn't work in either with foobar or any other media player I suspect hardware is kaput.

Getting a bit off-topic with the standby, but you might look into the device properties of the keyboard (and mouse, if SetPoint controlled) in the device manager, and unchecking "Allow this device to bring the computer out of standby" on the "Power Management" tab.


Anything researched has been tried to make S3 get along with logitech, from reg hacks to dumppo.exe, nic adapter switches, USB and contol devices enabled/disabled/installed/uninstalled. PC either gets to S1 (fans and HDDs spinning), freezes with 'preparing for standby' greeting or starts right back up. I have a lot of gear hanging off this machine, midi controllers, instruments, e-sata drives, NAS and network printer. I am prolly reaching and therefore just gave up. I suspect a few applications such as Cubase 4 or Acid Pro may mess with volume control from this keyboard. I'm chasing this one more out of interest (the inner geek) since I use Mackie's Big Knob to change levels. Thanks again!
Thanasis159
I did what you said in Addendum A but it didn't work for me. I have Logitech EX110 wireless desktop( keyboard and mouse), I am using windows xp service pack 2 with all the latest updates, my foobar version is 0.9.4.3, the multimedia buttons work when the foobar window is focused but not when it is minimized or another window is focused. I use columns ui along with many other plugins. Any help appreciated!
Manic
Beautiful!! can confirm that it works perfectly with a Dell USB enhanced multimedia keyboard on Vista Business. The embedded multimedia buttons on my Toshiba Satellite Pro U200 also seem to work without any extra configs, except for the launcher, which insists on opening WMP. unsure.gif

To make foobar open instead of WMP youll also need to go to the Control Panel and change the default app for .cda there, as well as in foobar 2k.

aziz
Thank you very much brotha!
foshelan
Thank you buddy
It's really a great and detailed manual that I search
This gives me a lot of help
Mangix
i have an hp keyboard. i have the drivers and playback buttons work. but only when foobar2000 is in focus. if i try adding the playback keys as global shortcuts, foobar2000 can't add them for some reason. foo_appcommand made it work but foo_appcommand doesn't work with foobar2000 0.9.6. any ideas on how to get it to work?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.