View unanswered posts | View active topics It is currently Fri May 24, 2013 8:32 pm

Forum rules


Before posting make sure you have done the following:
  • Checked for an update
  • Read the plugin's supplied documentation
  • Read the General Plugin FAQ
  • Read the plugin's FAQ

Only moderators can post a new topic, so if you have a new plugin, create a thread in the BB4Win forum and we'll move it for ya.



 Post a reply 
Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: =D> #-o =P~ :^o [-X [-o<
View more smilies
Font size:
Tip: Styles can be applied quickly to selected text.  Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation code
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the Board Administrator.
Confirmation code
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive.
   

 Topic review - BBKeyhook 
Author Message

Reply with quote Post Posted: Mon Jul 06, 2009 7:07 am
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.

Reply with quote Post Posted: Sat Jul 04, 2009 9:16 am
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?

Reply with quote Post Posted: Fri Feb 20, 2009 11:30 am
Re: BBKeyhook
Also if you're running Vista they won't work because Vista is stupid and implements volume controls per-application.

Reply with quote Post Posted: Sun Feb 08, 2009 8:52 am
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?

Reply with quote Post Posted: Sun Feb 08, 2009 3:03 am
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.

Reply with quote Post Posted: Fri Feb 06, 2009 10:52 am
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.

Reply with quote Post Posted: Fri Jan 30, 2009 6:10 pm
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?

Reply with quote Post Posted: Fri Jan 30, 2009 9:45 am
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.

Reply with quote Post Posted: Thu Jan 29, 2009 8:38 pm
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#

Reply with quote Post Posted: Thu Jan 29, 2009 6:13 pm
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.

Reply with quote Post Posted: Wed Jan 28, 2009 9:51 pm
Re: BBKeyhook
I downloaded and enabled BBKeyHook for my quick touch buttons. And they still dont work. Anyone know why? :?

Reply with quote Post Posted: Wed Jun 11, 2008 10:17 pm
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?

Reply with quote Post Posted: Thu Aug 09, 2007 7:08 pm
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 :-D

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. :roll:

Reply with quote Post Posted: Mon Aug 06, 2007 7:41 am
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.

Reply with quote Post Posted: Sat Aug 04, 2007 4:40 am
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.


Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.