Official BS.Player forums

Official BS.Player forums (http://forum.bsplayer.com/)
-   General Talk And Support (http://forum.bsplayer.com/general-talk-support/)
-   -   controling BSplayer with multimedia keyboards (http://forum.bsplayer.com/general-talk-support/7404-controling-bsplayer-multimedia-keyboards.html)

stadi 16th April 2006 07:40 PM

controling BSplayer with multimedia keyboards
 
Hi!

I'm using the latest SetPoint with my Logitech keyboard and would like to control BSplayer with it but SetPoint only supports players it knows, like media player or winamp. (SetPoint is the software for Logitech keyboards and mice)

Couldn't Bsplayer use the same controls like one of those two softwares? There could be an amulation option or something like that so that BSplayer can be controled with multimedia keyboards.

adicoto 16th April 2006 08:01 PM

Use the search option. For multimedia keyboard you'll get exactly the answers you want.

Tizio 16th April 2006 10:53 PM

Search-result: Multimedia keys supported :wink:

exanime 22nd June 2006 01:40 AM

This works with SetPoint
 
In the SetPoint installation folder (Logitech's software that controls the mouse special features) locate a file named players.ini (the default path is c:\Program Files\Logitech\SetPoint)

Open the file with any text editor and add the lines that are in bold

#List of supported players
#{btn|key|msg|emg|cmd|wac},exeName,wndClass,wndCap tion,xxx,play_delayplay,pause,stop,prev,next,remov e_flags,ShowOSD,menu_item
[Players]
MSMedia=key,xxx,MPlayer,xxx,xxx,0x10,0x10,0x13,0,0 ,0,1,Windows Media Player
MSMedia2=wac,xxx,Media Player 2,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Windows Media Player
MSMedia9=wac,wmplayer.exe,WMPlayerApp,Windows Media Player,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Windows Media Player 9
MSMedia7=wac,wmplayer.exe,WMP Skin Host,Windows Media Player,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Windows Media Player 7
MSMediaX=wac,mplayer2.exe,WMP Skin Host,Windows Media Player,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Windows Media Player
MusicMatch7=wac,MMJB.EXE,MMJB:MAINWND,xxx,xxx,xxx, xxx,xxx,xxx,xxx,0,1,MusicMatch
MusicMatch=cmd,MMJB.EXE,xxx,MusicMatch Jukebox 4,xxx,0x101F4,0x18059,0x101F5,0x101F6,0x101F7,0,1, MusicMatch
MDesktop=wac,MDesktop.exe,MediaDesktopClass,Media Desktop,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Media Desktop
PowerDVD=wac,PowerDVD,Class of CyberLink Universal Player,PowerDVD,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Power DVD
WinDVD=wac,WinDVD.exe,WinDVDClass,Player,xxx,xxx,x xx,xxx,xxx,xxx,0,1,Win DVD
iTunes=wac,iTunes.exe,iTunes,xxx,xxx,xxx,xxx,xxx,x xx,xxx,0,1,iTunes
MediaCenter=wac,ehshell.exe,eHome Render Window,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Windows Media Center
WinAmp3=key,studio.exe,STUDIO,xxx,xxx,X,C,V,Z,B,0, 1,WinAmp 3
WinAmp3d=key,winamp3.exe,STUDIO,xxx,xxx,X,C,V,Z,B, 0,1,WinAmp 3d
Rhapsody=cmd,Rhapsody.exe,RHAPSODY,RHAPSODY,xxx,40 045,40045,40046,40047,40048,0,1,Rhapsody
Rhapsody2=cmd,Rhapsody.exe,Rhapsody,Rhapsody,xxx,4 0071,40072,40046,40047,40048,0,1,Rhapsody
RealOne=wac,realplay.exe,GeminiWindowClass,xxx,xxx ,xxx,xxx,xxx,xxx,xxx,0,1,RealOne Player
WinAmp5=cmd,winamp.exe,Winamp v1.x,xxx,xxx,40045,40046,40047,40044,40048,0,1,Win Amp 5
MediaLife=key,Medialife.exe,MediaLife Frame class,Logitech MediaLife,xxx, , ,S,P,N,0,1,MediaLife
BSplayer=key,bsplayer.exe,BSplayer,BSplayer,xxx,X, C,V,Y,B,0,1,Bsplayer Pro

[Players.Run]
MediaCenter=path,$WINDOWS\eHome
WinAmp3=reg,HKLM,SOFTWARE\Classes\Winamp3.File\Def aultIcon,,2
Rhapsody=reg,HKCR,rhap\DefaultIcon,,5
WinAmp5=reg,HKLM,SOFTWARE\Classes\Winamp.File\Defa ultIcon,,2
BSplayer=path,C:\Program Files\Webteh\BSplayerPro\

[Players.Display]
MediaCenter=Windows Media Center
RealOne=RealOne Player
WinDVD=WinDVD
MediaLife=MediaLife
BSplayer=BSplayer Pro

#{btn|key|msg|emg|cmd|wac},start,end,repeat start
[Players.Seek]
MusicMatch7=cmd,32861,xxx,1
BSplayer=key,0x27,xxx,1

#{btn|key|msg|emg|cmd|wac},start,end,repeat start
[Players.Rewind]
MusicMatch7=cmd,32860,xxx,1
BSplayer=key,0x25,xxx,1

#list of Burn UI players (available on Burn button)
[Players.BurnSupported]
MSMedia9=True
MusicMatch7=True

#list of Record UI players (available on Record button)
[Players.RecordSupported]
MSMedia9=True
MusicMatch7=True

#list of 10" UI players (available on remote button)
[Players.IsRemote]
MDesktop=True
MediaCenter=True
MediaLife=True
WinDVD=True
PowerDVD=True
BSplayer=True

After, save the modified players.ini, close the Setpoint application and re-open it. Once the app is running go through the normal menu and choose to use BSPlayer Pro as for your Media Key.

This works perfectly with the default Key config for BSPlayer Pro. The only thing that does not seem to work consistently is the Media Key (it does not launch the app) but all the other buttons work as they are supposed to (play, pause, next track, prev track, fast forward and rewind)

If you find a way to make it launch de app as well let me know but I find it to be just a minor disadvatage as I always need to be near the PC to load the songs/videos I want to listen/watch before walking away and using the mouse as a remote.

grendizer 22nd June 2006 09:52 AM

Is this only for the mouse? Could it work with the keyboard as well?

Tizio 22nd June 2006 10:11 AM

Quote:

Originally Posted by grendizer
Is this only for the mouse? Could it work with the keyboard as well?

http://forum.bsplayer.org/viewtopic.php?t=6661
http://forum.bsplayer.org/viewtopic.php?t=575

grendizer 22nd June 2006 10:34 AM

If I understand correctly, in this line:
BSplayer=key,bsplayer.exe,BSplayer,BSplayer,xxx,X, C,V,Y,B,0,1,Bsplayer Pro
"C" is the command for "pause".
Now what if you put some keyboard shortcuts on keys like spacebar, left arrow, enter, or something like ALT+ENTER? How can I put this in the *.ini file?

exanime 22nd June 2006 11:52 AM

you need winscan codes
 
Hi Grendizer,

Glad you asked because I hit my head against the wall for a couple of days on that question...

You understand correctly, C in this example is the Pause command... you can use any key or key combination in the ini file, if you can type the key (like space for example) simply do so

If you cannot type it (like a Esc, left arrow, Ctrl, etc) you need to use the winscan codes that the operating system provides - Please note this are not the BIOS scan codes-

You can see an example of this in the Seek and Rewind sections of the posted players.ini above.

If you don't know the winscan codes you can use a little program called keytest from download.com to figure them out (that's the one I used)

I hope it helps

Tizio 22nd June 2006 11:58 AM

And maybe also this post will be helpful to you: http://forum.bsplayer.org/viewtopic.php?t=8440

grendizer 22nd June 2006 06:28 PM

exanime thanks a lot you've done a very good job! I didn't set this up yet, but will do. This will help.
And thanks Tizio for the links.


All times are GMT +1. The time now is 04:42 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
Ad Management plugin by RedTyger


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20