Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > General Hardware Discussion > Fusion Brain


Reply
 
Share Thread Tools Display Modes
Old 08-15-2009, 09:57 AM   #1
Newbie
 
Join Date: Jun 2009
Posts: 22
Banegio is an unknown quantity at this point
Windows Master Volume & Media Keys

OK. I would say my CarPC phase 1 installation completed.
So now I get time to look at the software side of things. While I am waiting for CF3 to come out to see whether it is worthwhile to work on its plugin, I looked at FB this afternoon.

I am not the only one like to see FB controlling the master volume. I also think it would be nice that FB sends out Multimedia Keys (most media players hook up these keys http://www.codeguru.com/cpp/w-p/syst...icle.php/c5655).

So I ve done some research and made some sample code (attached).
What it does is, rather than "control" volume, it sends out virtual keystroke (like what multimedia keyboards do) to Windows. It can be entended to Browser-Keys.

Hopefully 2k1Toaster will has time to look at it and see whether it is suitable to incorporate this into MDX.
Attached Files
File Type: zip WindowsVolume.zip (42.0 KB, 19 views)
Banegio is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 08-16-2009, 01:28 AM   #2
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future
Quote: Originally Posted by Banegio View Post
OK. I would say my CarPC phase 1 installation completed.
So now I get time to look at the software side of things. While I am waiting for CF3 to come out to see whether it is worthwhile to work on its plugin, I looked at FB this afternoon.

I am not the only one like to see FB controlling the master volume. I also think it would be nice that FB sends out Multimedia Keys (most media players hook up these keys http://www.codeguru.com/cpp/w-p/syst...icle.php/c5655).

So I ve done some research and made some sample code (attached).
What it does is, rather than "control" volume, it sends out virtual keystroke (like what multimedia keyboards do) to Windows. It can be entended to Browser-Keys.

Hopefully 2k1Toaster will has time to look at it and see whether it is suitable to incorporate this into MDX.

It is included and went out with the update tonight.

Here is a sample configuration file with just buttons to trigger the multimedia keys: http://www.fusioncontrolcentre.com/T...figuration.xml

And the contents if you dont want to download:

Code:
<?xml version="1.0" encoding="utf-8" ?> <FusionControlCentreConfiguration version="3.0" author="Ninja Kitty Wizard of Doom" date_created="Saturday, August 15, 2009 at 10:47:06 PM" last_modified="Saturday, August 15, 2009 at 10:49:32 PM"> <require> <!-- Begin Fusion Font Instances --> <font name="Verdana" originalSize="25" font_config="content\fonts\Verdana.xml"></font> <!-- End Fusion Font Instances --> </require> <graphics> <!-- Begin Global Graphic Settings --> <main_display designed_for_size="800,600" show_at_size="800,600" menubar="Sizeable" RunInSystemTray="False" MinimizeToSystemTray="True"></main_display> <!-- End Global Graphic Settings --> <!-- Begin Background Images --> <background_image style="stretch" imagefilepath="content\images\background_images\background.jpg" page="0"></background_image> <!-- End Background Images --> <!-- Begin Static Images --> <staticimage> <image path="content\images\static_images\logo.png"></image> <display size="556,27" location="123,44" page="0" z_order="0.9"></display> </staticimage> <!-- End Static Images --> <!-- Begin Display Buttons --> <button id="MMBTN_PLAY_PAUSE" enabled="yes" function="send key" functionTargetID="GLOBAL" vote="filler" vote_opinion="PLAY_PAUSE" vote_priority="Low"> <images imagePrimary="content\images\button_images\button.png" imageSecondary="content\images\button_images\button.png" imageDisabled="content\images\button_images\button.png" imagePushed="content\images\button_images\button.png"></images> <display size="230,70" location="37,119" page="0" z_order="0.9"></display> <vote_options minimum_delta_vote_time_down="20" ></vote_options> <text font="verdana" font_size="25"></text> <text colourPrimaryARGB="255,255,255,255" textPrimary="Play - Pause"></text> <text colourSecondaryARGB="255,255,255,255" textSecondary="Play - Pause"></text> </button> <button id="MMBTN_STOP" enabled="yes" function="send key" functionTargetID="GLOBAL" vote="filler" vote_opinion="STOP" vote_priority="Low"> <images imagePrimary="content\images\button_images\button.png" imageSecondary="content\images\button_images\button.png" imageDisabled="content\images\button_images\button.png" imagePushed="content\images\button_images\button.png"></images> <display size="230,70" location="287,119" page="0" z_order="0.9"></display> <vote_options minimum_delta_vote_time_down="20" ></vote_options> <text font="verdana" font_size="25"></text> <text colourPrimaryARGB="255,255,255,255" textPrimary="Stop"></text> <text colourSecondaryARGB="255,255,255,255" textSecondary="Stop"></text> </button> <button id="MMBTN_PREV" enabled="yes" function="send key" functionTargetID="GLOBAL" vote="filler" vote_opinion="PREV" vote_priority="Low"> <images imagePrimary="content\images\button_images\button.png" imageSecondary="content\images\button_images\button.png" imageDisabled="content\images\button_images\button.png" imagePushed="content\images\button_images\button.png"></images> <display size="230,70" location="537,119" page="0" z_order="0.9"></display> <vote_options minimum_delta_vote_time_down="20" ></vote_options> <text font="verdana" font_size="25"></text> <text colourPrimaryARGB="255,255,255,255" textPrimary="Previous Track"></text> <text colourSecondaryARGB="255,255,255,255" textSecondary="Previous Track"></text> </button> <button id="MMBTN_NEXT" enabled="yes" function="send key" functionTargetID="GLOBAL" vote="filler" vote_opinion="NEXT" vote_priority="Low"> <images imagePrimary="content\images\button_images\button.png" imageSecondary="content\images\button_images\button.png" imageDisabled="content\images\button_images\button.png" imagePushed="content\images\button_images\button.png"></images> <display size="230,70" location="37,219" page="0" z_order="0.9"></display> <vote_options minimum_delta_vote_time_down="20" ></vote_options> <text font="verdana" font_size="25"></text> <text colourPrimaryARGB="255,255,255,255" textPrimary="Next Track"></text> <text colourSecondaryARGB="255,255,255,255" textSecondary="Next Track"></text> </button> <button id="MMBTN_VOL_UP" enabled="yes" function="send key" functionTargetID="GLOBAL" vote="filler" vote_opinion="VOL_UP" vote_priority="Low"> <images imagePrimary="content\images\button_images\button.png" imageSecondary="content\images\button_images\button.png" imageDisabled="content\images\button_images\button.png" imagePushed="content\images\button_images\button.png"></images> <display size="230,70" location="287,219" page="0" z_order="0.9"></display> <vote_options minimum_delta_vote_time_down="20" ></vote_options> <text font="verdana" font_size="25"></text> <text colourPrimaryARGB="255,255,255,255" textPrimary="Vol Up"></text> <text colourSecondaryARGB="255,255,255,255" textSecondary="Vol Up"></text> </button> <button id="MMBTN_VOL_DOWN" enabled="yes" function="send key" functionTargetID="GLOBAL" vote="filler" vote_opinion="VOL_DOWN" vote_priority="Low"> <images imagePrimary="content\images\button_images\button.png" imageSecondary="content\images\button_images\button.png" imageDisabled="content\images\button_images\button.png" imagePushed="content\images\button_images\button.png"></images> <display size="230,70" location="537,219" page="0" z_order="0.9"></display> <vote_options minimum_delta_vote_time_down="20" ></vote_options> <text font="verdana" font_size="25"></text> <text colourPrimaryARGB="255,255,255,255" textPrimary="Vol Down"></text> <text colourSecondaryARGB="255,255,255,255" textSecondary="Vol Down"></text> </button> <button id="MMBTN_MUTE" enabled="yes" function="send key" functionTargetID="GLOBAL" vote="filler" vote_opinion="MUTE" vote_priority="Low"> <images imagePrimary="content\images\button_images\button.png" imageSecondary="content\images\button_images\button.png" imageDisabled="content\images\button_images\button.png" imagePushed="content\images\button_images\button.png"></images> <display size="230,70" location="37,319" page="0" z_order="0.9"></display> <vote_options minimum_delta_vote_time_down="20" ></vote_options> <text font="verdana" font_size="25"></text> <text colourPrimaryARGB="255,255,255,255" textPrimary="Mute"></text> <text colourSecondaryARGB="255,255,255,255" textSecondary="Mute"></text> </button> <!-- End Display Buttons --> </graphics> </FusionControlCentreConfiguration>

2k1Toaster is offline   Reply With Quote
Old 08-17-2009, 04:13 PM   #3
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future
Did it work for you?
2k1Toaster is offline   Reply With Quote
Old 08-18-2009, 08:22 AM   #4
Newbie
 
Join Date: Jun 2009
Posts: 22
Banegio is an unknown quantity at this point
Thanks for the quick implementation. I haven't got time to try it yet, will try it tomorrow night and keep you updated.
Banegio is offline   Reply With Quote
Old 08-18-2009, 07:20 PM   #5
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future
Quote: Originally Posted by Banegio View Post
Thanks for the quick implementation. I haven't got time to try it yet, will try it tomorrow night and keep you updated.

No problem. Let me know how it goes. It worked for me on my Vista dev machine and on an XP virtual machine.
2k1Toaster is offline   Reply With Quote
Old 08-23-2009, 05:15 AM   #6
Newbie
 
Join Date: Jun 2009
Posts: 22
Banegio is an unknown quantity at this point
Finally had time to tried it.
It worked perfectly. Thanks Nick.

The play and track commands worked with CF2 even in the background. So I can use the same steering control key for all media software without setting up MDX to send key to every media software that I may use.
Banegio is offline   Reply With Quote
Old 08-24-2009, 12:20 AM   #7
Fusion Brain Creator
 
2k1Toaster's Avatar
 
Join Date: Mar 2006
Location: Colorado, but Canadian!
Posts: 8,862
2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future2k1Toaster has a brilliant future
glad it works for you.
2k1Toaster is offline   Reply With Quote
Old 08-28-2009, 12:32 AM   #8
Newbie
 
Join Date: Dec 2008
Posts: 7
miantiao is an unknown quantity at this point
OMG! My prayers are finally answered after almost 1yr!

>> http://www.mp3car.com/vbulletin/fb-s...-update-4.html
miantiao is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fresh Install on New PC, Rebooting phc StreetDeck 3 12-23-2007 10:33 AM
pc reboot on sd startup duanes7 StreetDeck 3 12-14-2007 09:55 AM
Software Review: Windows XP Media Center 2005 Edition! nFiniteTuning The Review Palace 180 05-01-2007 12:54 PM
Windows XP Media Center 2005 Video n33d45p33d WinNT Based 5 07-06-2006 04:09 PM
Global Hot Keys for Windows Media Player? ejasons FrodoPlayer 2 11-26-2004 08:45 AM



All times are GMT -5. The time now is 11:43 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics