羅技Setpoint控制酷狗等第三方播放器

 

手裏有個淘過來的二手戴爾藍牙鍵盤,雖然是戴爾的,可是確實羅技代工的,所以可使用羅技的Setpoint,用這個軟件後能夠集中管理羅技的鍵盤鼠標進行一些個性化設置,以下圖所示。不過鬱悶的是若是不裝Setpoint,那麼自己的快捷鍵就是能夠用的,只是是默認的程序很差更改,按音樂按鍵能夠直接調處酷狗音樂,播放控制也能用,使用Setpoint後,啓動程序能夠本身設置指定爲酷狗,可是播放卻無法控制了,軟件界面中也很差自定義,讓我非常鬱悶,通過簡單摸索找到了解決方法。對應其餘多媒體鍵盤、其餘版本軟件均可以使用。git

首先是把音樂按鈕指定路徑酷狗對應的exe文件,以下圖所示。shell

image

接下來找到setpoint的安裝路徑,有個Players.ini配置文件,個人路徑在C:\Program Files\Logitech\SetPointP,能夠備份一個,接下來更改這個文件,windows8.1沒有權限的能夠先拷貝出來,改好了再替換回去或者用管理員權限打開。windows

先看一下這個文件的前幾行的說明:app

#List of supported players
#{btn|key|msg|emg|cmd|wac},exeName,wndClass,wndCaption,xxx,play_delayplay,pause,stop,prev,next,remove_flags,ShowOSD,menu_item
#special char --> ^ ctrl;+ shift+ctrl; $ ctrl (no translation); * alt (no translation); @ ctrl+alt (no tanslation); & (no translation)

文件說明的很清楚,列出了支持的播放器,定義了按鍵方式,更多的我也不懂,可是能夠參考參考裏面其餘的播放器。ide

BaoFeng=key,storm.exe,xxx,xxx,xxx, , ,$0x53,&0x21,&0x22,0,1,Bao Feng
Koowoo=key,KwMusic.exe,xxx,xxx,xxx,$0x74,$0x74,$0x75,?0x25,?0x27,0,1,Koowoo
TTing=key,tting.exe,xxx,xxx,xxx,@0x4f,@0x4f,@0x4f,@0x25,@0x27,0,1,TTing
#Pctutu=key,PPStream.exe,xxx,xxx,xxx, , ,^S,^0x21,^0x22,0,1,Pctutu

從這裏面可以看到幾個熟悉的播放器,酷我音樂盒,暴風影音,大體可以看懂一些意思,key表示經過按鍵控制,後面跟着的是程序名稱,xxx就不知道啥意思了,後面跟着的就是鍵碼了,$表示的是ctrl鍵,這個在第三行有說明,其餘對應快捷鍵能夠對應修改,0x74對應的就是F5的鍵碼,看到這兒就能大體明白了,改以前先來設置酷狗的快捷鍵。spa

image

默認的是alt+的快捷鍵,可是常常和其餘快捷鍵衝突,因而我就改成Ctrl+alt的方式,這樣衝突的可能性就減小了,最後啓用全局快捷鍵這樣酷狗在後臺也可以被控制。3d

那麼在[Players]列表的最後對應的加一行就OK了。鍵碼本身百度,個人設置以下:code

KuGou=key,KuGou.exe,xxx,xxx,xxx,@0x74,@0x74,@0x44,@0x25,@0x27,0,1,KuGou

@0x74就是表示Ctrl+Alt+F5,第一個表示播放/暫停,後面是中止,酷狗沒有中止我給對應的是歌詞隱藏,在向後是上一曲下一曲,這部分就算改好了。(emouse.cnblogs.com)orm

下一步是[Players.Run]這個應該是檢測播放器,原有的幾個是這樣的blog

MediaCenter=path,$WINDOWS\eHome
WinAmp3=reg,HKLM,SOFTWARE\Classes\Winamp3.File\DefaultIcon,,2
Rhapsody=reg,HKCR,rhap\DefaultIcon,,5
WinAmp5=reg,HKLM,SOFTWARE\Classes\Winamp.File\DefaultIcon,,2
YahooMusicEngine=reg,HKCR,TypeLib\{2C5EBFB1-9174-4FE8-88DB-D1F460A9E83B}\1.0\0\win32,,
Koowoo=reg,HKLM,SOFTWARE\Classes\kwfile_ksf\shell\open\command,,5

這個是經過註冊表來檢測的,由於軟件不知道你安裝的具體目錄,因此就從註冊表找,咱本身改的話不必啊,添上這樣一行:

KuGou=path,C:\Program Files (x86)\KuGou\KGMusic\

後面跟的是個人路徑,添上保存,替換原有文件就OK了,重啓setpoint試試就OK了。

最後附上我完整的players.ini文件,個人軟件版本以下,我是windows8.1 64位系統,其餘軟件和系統應該都OK。

image

#List of supported players
#{btn|key|msg|emg|cmd|wac},exeName,wndClass,wndCaption,xxx,play_delayplay,pause,stop,prev,next,remove_flags,ShowOSD,menu_item
#special char --> ^ ctrl;+ shift+ctrl; $ ctrl (no translation); * alt (no translation); @ ctrl+alt (no tanslation); & (no translation) 
[Players]
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=key,PowerDVD.exe,xxx,CyberLink PowerDVD,xxx,0x0d,0x20,S,P,N,0,1,Power DVD
WinDVD=wac,WinDVD.exe,WinDVDClass,Player,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Win DVD
WinDVD4=key,WinDVD.exe,WinDVDClass,InterVideo WinDVD 4,xxx,0x0d,0x20,0x23,0x21,0x22,0,1,Win DVD
WinDVD5=key,WinDVD.exe,WinDVDClass,InterVideo WinDVD 5,xxx,0x0d,0x20,0x23,0x21,0x22,0,1,Win DVD
WinDVD6=key,WinDVD.exe,WinDVDClass,InterVideo WinDVD 6,xxx,0x0d,0x20,0x23,0x21,0x22,0,1,Win DVD
WinDVD7=key,WinDVD.exe,WinDVDClass,InterVideo WinDVD 7,xxx,0x0d,0x20,0x23,0x21,0x22,0,1,Win DVD
iTunes_104=wac,iTunes.exe,ITWindow,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,iTunes
iTunes=wac,iTunes.exe,ITunes,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,iTunes
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
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=key,Rhapsody.exe,xxx,Rhapsody,xxx,^P,^P,^S,^B,^F,0,1,Rhapsody
#YahooMusicEngine=key,YahooMusicEngine.exe,YMPFrame,xxx,xxx,^ ,^ ,^S,$0x25,$0x27,0,1,Yahoo! Music Jukebox
YahooMusicEngine=key,YahooMusicEngine.exe,YMPFrame,xxx,xxx,^ ,^ ,^S,$0x25,$0x27,0,1,Yahoo! Music Jukebox
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,WinAmp 5
MediaLife=key,Medialife.exe,MediaLife Frame class,Logitech MediaLife,xxx, , ,S,P,N,0,1,MediaLife
MediaLife4=wac,Medialife.exe,MediaLife Koan GDI Class,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,MediaLife
PLAYDVD=key,PlayDVD.exe,PlayDVD Frame class,Play DVD,xxx, , ,S,P,N,0,1,PlayDVD
Nero=wac,NeroHome.exe,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,NeroHome
Nero2=wac,ShowTime.exe,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,ShowTime
Nero3=wac,Nero.exe,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Nero
BaoFeng=key,storm.exe,xxx,xxx,xxx, , ,$0x53,&0x21,&0x22,0,1,Bao Feng
Koowoo=key,KwMusic.exe,xxx,xxx,xxx,$0x74,$0x74,$0x75,?0x25,?0x27,0,1,Koowoo
TTing=key,tting.exe,xxx,xxx,xxx,@0x4f,@0x4f,@0x4f,@0x25,@0x27,0,1,TTing
#Pctutu=key,PPStream.exe,xxx,xxx,xxx, , ,^S,^0x21,^0x22,0,1,Pctutu
KuGou=key,KuGou.exe,xxx,xxx,xxx,@0x74,@0x74,@0x44,@0x25,@0x27,0,1,KuGou

[Players.Run]
MediaCenter=path,$WINDOWS\eHome
WinAmp3=reg,HKLM,SOFTWARE\Classes\Winamp3.File\DefaultIcon,,2
Rhapsody=reg,HKCR,rhap\DefaultIcon,,5
WinAmp5=reg,HKLM,SOFTWARE\Classes\Winamp.File\DefaultIcon,,2
YahooMusicEngine=reg,HKCR,TypeLib\{2C5EBFB1-9174-4FE8-88DB-D1F460A9E83B}\1.0\0\win32,,
Koowoo=reg,HKLM,SOFTWARE\Classes\kwfile_ksf\shell\open\command,,5
KuGou=path,C:\Program Files (x86)\KuGou\KGMusic\

[Players.Display]
MediaCenter=Windows Media Center
RealOne=RealOne Player
WinDVD=WinDVD
WinDVD4=WinDVD4
WinDVD5=WinDVD5
WinDVD6=WinDVD6
WinDVD7=WinDVD7
MediaLife=MediaLife
PLAYDVD=PlayDVD

#{btn|key|msg|emg|cmd|wac},start,end,repeat start,,Donot send Play appcommand at end of FastForward operation 
[Players.Seek]
MusicMatch7=cmd,22861,xxx,1
MediaLife=wac,xxx,xxx,1,0
MediaLife4=wac,xxx,xxx,0,1
PowerDVD=wac,xxx,,0,1
MediaCenter=wac,xxx,xxx,0,1
PLAYDVD=key,F,,0,1
iTunes_104=wac,xxx,xxx,1,0
iTunes=wac,xxx,xxx,1,0
WinDVD7=key,F,0x0d,xxx,0
WinDVD6=key,F,0x0d,xxx,0
WinDVD5=key,F,0x0d,xxx,0
WinDVD4=key,F,0x0d,xxx,0
WinAmp5=cmd,40060,xxx,1,1
MSMedia9=wac,xxx,xxx,0,0
RealOne=key,^],,2,1

#{btn|key|msg|emg|cmd|wac},start,end,repeat start,Donot send Play appcommand at end of rewind operation 
[Players.Rewind]
PowerDVD=wac,xxx,,0,1
MusicMatch7=cmd,22860,xxx,1,0
MediaLife=wac,xxx,xxx,1,1
MediaLife4=wac,xxx,xxx,0,1
MediaCenter=wac,xxx,xxx,0,1
PLAYDVD=key,B,,0,1
iTunes_104=wac,xxx,xxx,1,0
iTunes=wac,xxx,xxx,1,0
WinDVD7=key,R,0x0d,xxx,0
WinDVD6=key,R,0x0d,xxx,0
WinDVD5=key,R,0x0d,xxx,0
WinDVD4=key,R,0x0d,xxx,0
WinAmp5=cmd,40061,xxx,1,1
MSMedia9=wac,xxx,xxx,0,0
RealOne=key,^[,,2,1

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

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

#list of 10" UI players (available on remote button)
[Players.IsRemote]
MDesktop=Trues
MediaCenter=True
MediaLife=True
WinDVD=True
WinDVD4=True
WinDVD5=True
WinDVD6=True
WinDVD7=True
PowerDVD=True
PLAYDVD=True
相關文章
相關標籤/搜索