手上搞了個(gè)羅技的多媒體鼠標(biāo),功能確實(shí)強(qiáng)大,可以使用羅技的Setpoint配合管理默認(rèn)的軟件程序,用這個(gè)軟件后可以集中管理羅技的鍵盤(pán)鼠標(biāo)進(jìn)行一些個(gè)性化設(shè)置,如下圖所示。不過(guò)郁悶的是如果不裝Setpoint,那么本身的快捷鍵就是可以用的,只是是默認(rèn)的程序不好更改,按音樂(lè)按鍵可以直接調(diào)處酷狗音樂(lè),播放控制也能用,使用Setpoint后,啟動(dòng)程序可以自己設(shè)置指定為酷狗,但是播放卻沒(méi)法控制了,軟件界面中也不好自定義,讓我很是郁悶,經(jīng)過(guò)簡(jiǎn)單摸索找到了解決方法。對(duì)應(yīng)其他多媒體鍵盤(pán)、其他版本軟件都可以使用。
首先是把音樂(lè)按鈕指定路徑酷狗對(duì)應(yīng)的exe文件,如下圖所示。
接下來(lái)找到setpoint的安裝路徑,有個(gè)Players.ini配置文件,我的路徑在C:\Program Files\Logitech\SetPointP,可以備份一個(gè),接下來(lái)更改這個(gè)文件,windows8.1沒(méi)有權(quán)限的可以先拷貝出來(lái),改好了再替換回去或者用管理員權(quán)限打開(kāi)。
先看一下這個(gè)文件的前幾行的說(shuō)明:
#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)
文件說(shuō)明的很清楚,列出了支持的播放器,定義了按鍵方式,更多的我也不懂,但是可以參考參考里面其他的播放器。
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
從這里面能夠看到幾個(gè)熟悉的播放器,酷我音樂(lè)盒,暴風(fēng)影音,大致能夠看懂一些意思,key表示通過(guò)按鍵控制,后面跟著的是程序名稱(chēng),xxx就不知道啥意思了,后面跟著的就是鍵碼了,$表示的是ctrl鍵,這個(gè)在第三行有說(shuō)明,其他對(duì)應(yīng)快捷鍵可以對(duì)應(yīng)修改,0x74對(duì)應(yīng)的就是F5的鍵碼,看到這兒就能大致明白了,改之前先來(lái)設(shè)置酷狗的快捷鍵。
默認(rèn)的是alt+的快捷鍵,但是經(jīng)常和其他快捷鍵沖突,于是我就改為Ctrl+alt的方式,這樣沖突的可能性就減少了,最后啟用全局快捷鍵這樣酷狗在后臺(tái)也能夠被控制。
那么在[Players]列表的最后對(duì)應(yīng)的加一行就OK了。鍵碼自己百度,我的設(shè)置如下:
KuGou=key,KuGou.exe,xxx,xxx,xxx,@0x74,@0x74,@0x44,@0x25,@0x27,0,1,KuGou
@0x74就是表示Ctrl+Alt+F5,第一個(gè)表示播放/暫停,后面是停止,酷狗沒(méi)有停止我給對(duì)應(yīng)的是歌詞隱藏,在向后是上一曲下一曲,這部分就算改好了。(emouse.cnblogs.com)
下一步是[Players.Run]這個(gè)應(yīng)該是檢測(cè)播放器,原有的幾個(gè)是這樣的
MediaCenter=path,$WINDOWS\eHome WinAmp3=reg,HKLM,SOFTWARE\Classes\Winamp3.File\DefaultIcon,,2Rhapsody=reg,HKCR,rhap\DefaultIcon,,5WinAmp5=reg,HKLM,SOFTWARE\Classes\Winamp.File\DefaultIcon,,2YahooMusicEngine=reg,HKCR,TypeLib\{2C5EBFB1-9174-4FE8-88DB-D1F460A9E83B}\1.0\0\win32,, Koowoo=reg,HKLM,SOFTWARE\Classes\kwfile_ksf\shell\open\command,,5
這個(gè)是通過(guò)注冊(cè)表來(lái)檢測(cè)的,因?yàn)檐浖恢滥惆惭b的具體目錄,所以就從注冊(cè)表找,咱自己改的話(huà)沒(méi)必要啊,添上這樣一行:
KuGou=path,C:\Program Files (x86)\KuGou\KGMusic\
后面跟的是我的路徑,添上保存,替換原有文件就OK了,重啟setpoint試試就OK了。
最后附上我完整的players.ini文件,我的軟件版本如下,我是windows8.1 64位系統(tǒng),其他軟件和系統(tǒng)應(yīng)該都OK。
#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 9MSMedia7=wac,wmplayer.exe,WMP Skin Host,Windows Media Player,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Windows Media Player 7MediaCenter=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 3WinAmp3d=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 JukeboxYahooMusicEngine=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 5MediaLife=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,PctutuKuGou=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,,2Rhapsody=reg,HKCR,rhap\DefaultIcon,,5WinAmp5=reg,HKLM,SOFTWARE\Classes\Winamp.File\DefaultIcon,,2YahooMusicEngine=reg,HKCR,TypeLib\{2C5EBFB1-9174-4FE8-88DB-D1F460A9E83B}\1.0\0\win32,, Koowoo=reg,HKLM,SOFTWARE\Classes\kwfile_ksf\shell\open\command,,5KuGou=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,1MediaLife=wac,xxx,xxx,1,0MediaLife4=wac,xxx,xxx,0,1PowerDVD=wac,xxx,,0,1MediaCenter=wac,xxx,xxx,0,1PLAYDVD=key,F,,0,1iTunes_104=wac,xxx,xxx,1,0iTunes=wac,xxx,xxx,1,0WinDVD7=key,F,0x0d,xxx,0WinDVD6=key,F,0x0d,xxx,0WinDVD5=key,F,0x0d,xxx,0WinDVD4=key,F,0x0d,xxx,0WinAmp5=cmd,40060,xxx,1,1MSMedia9=wac,xxx,xxx,0,0RealOne=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,1MusicMatch7=cmd,22860,xxx,1,0MediaLife=wac,xxx,xxx,1,1MediaLife4=wac,xxx,xxx,0,1MediaCenter=wac,xxx,xxx,0,1PLAYDVD=key,B,,0,1iTunes_104=wac,xxx,xxx,1,0iTunes=wac,xxx,xxx,1,0WinDVD7=key,R,0x0d,xxx,0WinDVD6=key,R,0x0d,xxx,0WinDVD5=key,R,0x0d,xxx,0WinDVD4=key,R,0x0d,xxx,0WinAmp5=cmd,40061,xxx,1,1MSMedia9=wac,xxx,xxx,0,0RealOne=key,^[,,2,1#list of Burn UI players (available on Burn button)[Players.BurnSupported] MSMedia9=TrueMusicMatch7=TrueNero3=True#list of Record UI players (available on Record button)[Players.RecordSupported] MSMedia9=TrueMusicMatch7=TrueNero3=True#list of 10" UI players (available on remote button)[Players.IsRemote] MDesktop=Trues MediaCenter=TrueMediaLife=TrueWinDVD=TrueWinDVD4=TrueWinDVD5=TrueWinDVD6=TrueWinDVD7=TruePowerDVD=TruePLAYDVD=True