| Author |
Message |
|
Guest
|
 BBKeyhook
Quote: I made this plugin to fix my multi-media keyboard under BB4win. Basically it's a low level keyhook that can map any VK (Virtual Key) code to a command line action or to the default mixer 'mute', 'volume up' and 'volume down' actions.
|
| Sat Aug 04, 2007 4:40 am |
|
 |
|
Google
Sponsored Links
|
|
 |
|
Krevrenko
|
 Re: BBKeyhook
Hello!
I am obviously pretty daft, but when I set the BBkeyhook.rc like this, it reacts after I press CTRL(162) and doesn't even wait (or indeed react) to SHIFT(160). What am I doing wrong, please?
Thanks for your help.
|
| Mon Aug 06, 2007 7:41 am |
|
 |
|
Krevrenko
|
 Re: BBKeyhook
I am sorry, I forgot to post my config file. :-[ Here it is: Code: BBkeyhook.plugin.ConfigMode?: False BBkeyhook.plugin.volumeStep: 1
BBkeyhook.plugin.key0:162|160 BBke[b]z[/b]hook.plugin.scanCode0:29|42 BBkeyhook.plugin.command0:@langdis next
Yeaaaah.... only noticed this as I pasted it into the forum edit :-[ Must have switched a layout while experimenting with the langDis plugin I was writing the config for  Call me stuuuhh-pud. Only posting this to show the meaninglessness of my previous post, so maybe a moderator can get rid of that too. I have to register on here. 
|
| Thu Aug 09, 2007 7:08 pm |
|
 |
|
Lord Driminicus
BBWise
Joined: Mon Sep 10, 2007 2:18 pm Posts: 64
|
 Re: BBKeyhook
Whenever I start bbclean with bbkeyhook I get the error 'unable to register window class' with bbkeyhook in the title. Other than that everything works normally. Does anyone know what my problem is?
|
| Wed Jun 11, 2008 10:17 pm |
|
 |
|
Flippisaurus
BBAdult
Joined: Tue Jan 27, 2009 7:35 pm Posts: 21
|
 Re: BBKeyhook
I downloaded and enabled BBKeyHook for my quick touch buttons. And they still dont work. Anyone know why? 
|
| Wed Jan 28, 2009 9:51 pm |
|
 |
|
Niniel
BBDinosaur
Joined: Mon Nov 05, 2007 3:39 pm Posts: 732
|
 Re: BBKeyhook
Frankly, I don't know, but could there possibly be a conflict with winkeyhook.dll from bbKeys? Maybe you can program bbKeys to do what you want. You may also want to check out NirCMD.
|
| Thu Jan 29, 2009 6:13 pm |
|
 |
|
Flippisaurus
BBAdult
Joined: Tue Jan 27, 2009 7:35 pm Posts: 21
|
 Re: BBKeyhook
I wouldn't know how to program the quick touch buttons. Here's my BBKeyHook.rc file. Maybe there's something off? Code: BBkeyhook.plugin.ConfigMode?: False BBkeyhook.plugin.volumeStep: 1
BBkeyhook.plugin.key1:172 BBkeyhook.plugin.scanCode1:50 BBkeyhook.plugin.command1: C:\Program Files\Mozilla Firefox\firefox.exe
BBkeyhook.plugin.key2:180 BBkeyhook.plugin.scanCode2:108 BBkeyhook.plugin.command2: C:\Documents and Settings\christopher.plant\Start Menu\Programs\Microsoft Office\Microsoft Office Outlook 2003
BBkeyhook.plugin.key3:171 BBkeyhook.plugin.scanCode3:102 BBkeyhook.plugin.command3: @BBmuse_toWinamp WM_COMMAND 40048
BBkeyhook.plugin.key4:162|171 BBkeyhook.plugin.scanCode4:*|102 BBkeyhook.plugin.command4: @BBmuse_toWinamp WM_COMMAND 40044
BBkeyhook.plugin.key5:181 BBkeyhook.plugin.scanCode5:109 BBkeyhook.plugin.command5: C:\Program Files\musikCube\musikCube.exe
BBkeyhook.plugin.key24:173 BBkeyhook.plugin.command24: #MIXER.MUTE#
BBkeyhook.plugin.key23:175 BBkeyhook.plugin.command23: #MIXER.VOLUME.UP#
BBkeyhook.plugin.key22:174 BBkeyhook.plugin.command22: #MIXER.VOLUME.DOWN#
|
| Thu Jan 29, 2009 8:38 pm |
|
 |
|
Kaloth
BBSage
Joined: Thu May 26, 2005 10:59 am Posts: 116
|
 Re: BBKeyhook
Hi Flippisaurus, from the readme that comes with the download.. Quote: // ----- How do I train it to my keyboard? ----- \\
All keyboard keys are represented by a VK code. Some manufacturers use different VK codes for special keys, like 'mute' than others. In order to cater for this BBKeyhook has a config mode that you can put it in to by changing the rc setting to 'True'. Once in this state it reports the VK code and Hardware Scan Code of any key you press by displaying it in the BB4win toolbar (make sure the toolbar is visible). So modify your BBkeyhook.rc to contain... Code: BBkeyhook.plugin.ConfigMode?: True And then enable the blackbox toolbar (not the system bar that bblean/bbclean display by default). This can be done through the blackbox config menu. Now restart blackbox and everytime you press a key it's VK and Scan code will be displayed in the toolbar. Once you have worked out which code represents the key you want to map an action to add a new entry to the BBkeyhook.rc file with a unique ID... Code: BBkeyhook.plugin.key<ID>: <VK Code> BBkeyhook.plugin.scanCode<ID>: <Scan Code> BBkeyhook.plugin.command<ID>: <command> For example... Code: BBkeyhook.plugin.key32:172 BBkeyhook.plugin.scanCode32:50 BBkeyhook.plugin.command32: C:\Program Files\Mozilla Firefox\firefox.exe Hope that helps.
_________________ http://www.finalfury.co.uk
|
| Fri Jan 30, 2009 9:45 am |
|
 |
|
Flippisaurus
BBAdult
Joined: Tue Jan 27, 2009 7:35 pm Posts: 21
|
 Re: BBKeyhook
Ah, now I have the concept down, thanks. But I'm not sure what the command would be for pause, skip> and skip<. Also when I press and of the volume buttons, it doesnt give me a scan code or vk. It just says"volume up" "volume down" "mute/unmute"
Would you happen to know what to do?
|
| Fri Jan 30, 2009 6:10 pm |
|
 |
|
Kaloth
BBSage
Joined: Thu May 26, 2005 10:59 am Posts: 116
|
 Re: BBKeyhook
Quote: I'm not sure what the command would be for pause, skip> and skip< If you're using a winamp compatible media player then you can do what I do and use bbkeyhook to send a bro@m message to my other plugin bbmuse which can then tell your media player to skip/pause/play/whatever. For example this is my binding for skip forward... Code: BBkeyhook.plugin.key3:171 BBkeyhook.plugin.scanCode3:102 BBkeyhook.plugin.command3: @BBmuse_toWinamp WM_COMMAND 40048 Quote: Also when I press and of the volume buttons, it doesnt give me a scan code or vk. It just says"volume up" "volume down" "mute/unmute" I think this maybe because you already have them mapped in you bbkeyhook.rc file. So they should be already working.
_________________ http://www.finalfury.co.uk
|
| Fri Feb 06, 2009 10:52 am |
|
 |
|
Flippisaurus
BBAdult
Joined: Tue Jan 27, 2009 7:35 pm Posts: 21
|
 Re: BBKeyhook
Quote: I think this maybe because you already have them mapped in you bbkeyhook.rc file. So they should be already working.
But they don't. o_O the skip/play/pause buttons work with windows media player. but the sound buttons dont work at all.
|
| Sun Feb 08, 2009 3:03 am |
|
 |
|
Carsomyr
BBDinosaur
Joined: Wed Dec 13, 2006 7:33 pm Posts: 263 Location: Pretoria, South Africa
|
 Re: BBKeyhook
Flippisaurus wrote: Quote: I think this maybe because you already have them mapped in you bbkeyhook.rc file. So they should be already working.
But they don't. o_O the skip/play/pause buttons work with windows media player. but the sound buttons dont work at all. If you software installed that is displaying an OSD, it might be intercepting the keys before they can reach blackbox or its plugins. This happens f.ex with the Microsoft Intellitype software. If you have something like that installed try uninstalling it and see if it helps. Also, what version of windows are you running, I can't see it mentioned anywhere?
_________________ Try boxCore!  boxCore homepage. Forum thread on lostinthebox. Bugs, Feature requests
|
| Sun Feb 08, 2009 8:52 am |
|
 |
|
Kaloth
BBSage
Joined: Thu May 26, 2005 10:59 am Posts: 116
|
 Re: BBKeyhook
Also if you're running Vista they won't work because Vista is stupid and implements volume controls per-application.
_________________ http://www.finalfury.co.uk
|
| Fri Feb 20, 2009 11:30 am |
|
 |
|
nil_von_9wo
BBOneHitWonder
Joined: Sat Jul 04, 2009 8:56 am Posts: 1
|
 bbKeyhook v0.62b working intermittently with bbLean 1.17
I have been using bbLean with Windows XP for quite some time, but I have always found it frustrating that the volume keys on my Microsoft Ergonomic 4000 keyboard would not work.
Recently, I found a suggestion that I should try bbKeyhook, and it worked.
And then it didn't work.
Then I reconfigured and it worked.
Then it didn't work.
Then I reconfigured and it worked.
Then it didn't work.
. . .
Then I reconfigured, but it didn't work.
Then it didn't work, again.
As I don't wish to spend my life crapshooting bbLean reconfigurations to get this plugin to work, does anyone have a better way for me to make it's functionality more stable?
The only other plugins I'm using are bbKeys 1.17, bbLeanBar 1.17, and bbLeanSkin 1.17.
BTW, is bbKeyhook intended to supplement or replace bbKeys? If replace, is there an easy way to port my keyboard shortcuts from one to the other?
|
| Sat Jul 04, 2009 9:16 am |
|
 |
|
unkamunka
Moderator
Joined: Sun Feb 04, 2007 2:57 pm Posts: 1008 Location: austria
|
 Re: bbKeyhook v0.62b working intermittently with bbLean 1.17
A number of plugins that work fine on the various flavours of bbLean 1.16 - which is what they were written for - do not work quite as well on bbLean 1.17. It appears that bbkeyhook is one of the plugins affected - see here for a workaround. Try contacting the plugin author to see if he is intending to realease an update.
_________________ HTH
unkamunka - #bb4win
|
| Mon Jul 06, 2009 7:07 am |
|
 |
|
Google
Sponsored Links
|
|
 |
|