Board Logo

add support for your keyboard's media keys
dinodino - 3-5-2008 at 09:41 PM

My diNovo keyboard don't work with ejuke. somebody succes?


Audiosoft - 3-5-2008 at 11:44 PM

I can add support for your keyboard's media keys but i need your help to do it!
please shutdown ejukebox and replace the attached ejukebox.exe over your old C:Program FileseJukeboxejukebox.exe.
This is a special keyboard test version of eJukebox that will show a dialog with the keycode everytime you use the keyboard when eJukebox has focus. Please write down the code # for each of your media keyboard keys and post them here and I will update eJukebox to support them.
|>||: #
0: #
<<: #
>>: #

Anyone with keyboard media keys that do not work right now please take this opportunity to install this keyboard test ejukebox.exe and post your keycodes here so I can add them.


Pirk - 3-6-2008 at 10:19 AM

It's a shame but my media keyboard already works good with eJukebox!

Could you add a keyboard shortcut for the "Next" button in the up next area? That would be very handy.

Thanks.


Audiosoft - 3-6-2008 at 10:31 AM

Pirk, my keys works good too but I hope those who's keys do not find this post. It will be easy to add support if I know the keycodes for the particular keyboard. BTW the 'Next' link is CTRL+A...but only when eJukebox has focus. Of course the media keys work even when eJukebox is minimized.


Pirk - 3-6-2008 at 10:33 AM

Well my media keyboard works good with eJukebox and winamp, but not so good with the internal player:
The play/pause button pause the current playing song, but it is unable to play a song.
The >> button skip the current playing song but also stop the music.
The << button show the previous song but also stop the music.


Pirk - 3-6-2008 at 10:36 AM

Oups.. OK for the CTRL+A shortcut, perfect! Thanks. ;)


dinodino - 3-6-2008 at 06:48 PM

Hi Audiosoft

I try to run your audiosoft.exe
but there is no dialogbox when i press ect. play, stop, pause.

Only the green onscreen text, there show what botton you press (Logitech software)

the dinovo works in windows mediaplayer, foobar2000.
But don't work in winamp.


Audiosoft - 3-6-2008 at 09:06 PM

Hmm maybe you guys can configure your keyboard media keys with your keyboard software? They need to trigger a keypress code # when the Test eJukebox exe has focus or I will not be able to add support. Disable your media keys from controling WMP if you can. You just want them controlling eJukebox which will handle wmp and winamp. Also if you can specifically configure your media keys...the standard media key codes currently supported by eJukebox (even when minimized) are:
|>||: 179
0: 178
<<: 177
>>: 176

If you are using a Logitech keyboard and the code # for the media keypress is not showing with the test ejukebox.exe there is a solution. A file called default.xml in the SetPoint folder (usually c:program filesLogitechSetPoint) the other one is user.xml and you will find it on (C:Documents and SettingsuserApplication DataLogitechSetPoint). You will find something like this in the default.xml file: (Something similar in the user.xml file)

<!-- Button Name => MEDIA PLAYER
<Button Number="786819" Name="Media Player">
<PARAM Type="HOTKEY" IconLoc="media"/>
<Trigger Class="ButtonPress">
<PARAM Button="786819" LastButtonPress="0" Silent="0" FireUsageInterval="0"/>
<TriggerState Name="ButtonDownUp" HandlerSet="MediaPlayer" HandlerSetGroup="HotKeysMediaGroup"/>
</Trigger>
</Button>

Just add a comment tag start before this line (ej. <!-- start comment)
and a end comment tag after the </button> tag on the last line ( end comment --> )

Comment out each of the play/pause, stop, next, prev

After you restart the SetPoint software does button definitions you commented will have no functionality in setpoint sw but their scan codes will now actually be sent directly to windows and eJukebox!

OK so if you still can't configure your keyboard to get the code # in the test eJukebox then uninstalling your keyboard software will probably do the trick. One drawback to that is your green display notifications will no longer show up.