Viewing Issue Simple Details Jump to Notes ] << ] >> ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000147 [BBKeyhook] bug major always 2009-07-06 08:20 2009-07-19 12:56
Reporter nil_von_9wo View Status public  
Assigned To Kaloth
Priority normal Resolution no change required  
Status resolved  
Summary 0000147: bbKeyhook v0.62b only working intermittently with bbLean 1.17
Description 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.

Additional Information 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.

The only other plugins I'm using are bbKeys 1.17, bbLeanBar 1.17, and bbLeanSkin 1.17.
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000161)
Kaloth (administrator)
2009-07-06 15:01

Can you post the contents of you bbkeyhook.rc file?

Thanks,
Chris.
(0000162)
nil_von_9wo (reporter)
2009-07-07 10:52
edited on: 2009-07-07 10:53

The issue seems to have changed from intermittent to permanent for no discernible reason, as the only thing I changed on my computer was the value of "Bkeyhook.plugin.volumeStep" from 1 to 5. Changing it back, however, did restore the problem to intermittent.

Here is the .rc file:

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#

(0000163)
Kaloth (administrator)
2009-07-08 15:01

Hi, thanks for the info. It sounds like your keyboard doesn't match the settings in you rc file. The default settings are for my "Wireless MS Multimedia Keyboard". Different devices and manufacturers use different key-codes for their multimedia keys. Try enabling ConfigMode..

BBkeyhook.plugin.ConfigMode?: True

..and the blackbox 'toolbar'. BBKeyhook will display the code for the button you are currently pressing in the toolbar label area. You can then change your rc file to match your keyboard.

Hope this helps,
Chris.
(0000164)
nil_von_9wo (reporter)
2009-07-08 15:15

Not sure why you think my keyboard doesn't match. I would expect a mismatch to never work, whereas this works about 50% of the time (as long as volumeStep = 1).

As long as BBkeyhook is working, if I press volume up, the volume rises, and if I press down it lowers, and if I press mute, it mutes.

Anyway, I tried setting ConfigMode to "True", but I don't see the button codes displaying anywhere. Not entirely clear what you suggesting I should do to/with the blackbox 'toolbar' or how I should do it though.
(0000165)
Kaloth (administrator)
2009-07-13 11:07

Hi, I've tried to reproduce the problem on a fresh XP:SP3 install but I don't get any problems. Changing the volumeStep should not impact on the detection of key-presses in any way.

To view the toolbar you will need to enable it. I'm not on a bblean machine at the moment but I think it's in the blackbox->configuration->misc. menu, or somewhere similar.
(0000166)
nil_von_9wo (reporter)
2009-07-13 14:05

I activated the toolbar, but nothing [special] displays when I hit the multimedia keys. I can, however, see the VK and SC values changing as I type this.

I don't know if this lack of feedback from the multimedia keys is relating to BBkeyhook being completely dysfunctional right now.

Unfortunately, right now "reconfigure" isn't fixing the problem [unlike it did before.]

Could the conflict / problem be with bblean 1.17, not XP:SP3?

-Brian.
(0000167)
Kaloth (administrator)
2009-07-13 16:40

Hmm, interesting that the multi-media keys don't register. Do you have IntelliType installed? If so try un-installing it, it used to give me problems in some programs.
(0000168)
nil_von_9wo (reporter)
2009-07-15 12:28

The multimedia keys DO register: I use "Play" all the time.

It is only Volume Up and Volume Down that are problematic. And they sometimes register, the behaviour is just intermittent.

Anyway, I managed to get the Volume working again by "Restarting" bblean instead of "Reconfiguring".

While it was restarted, I watched the toolbar. However, the VK and SC values aren't being displayed when those two buttons are hit. Instead, I see Volume Down (x) or Volume Up (x), where x is a number representing the volume.

Anyway, I'll try uninstalling IntelliType later to see if it helps, but I'm not expecting it to, since it is always running...
(0000169)
Kaloth (administrator)
2009-07-16 09:31

The only reason I can think of for the behaviour you describe is that another program (eg: IntelliType) is behaving badly on the keyhook event chain. Here's an extract from MSDN that explains what I mean..

"If nCode is greater than or equal to zero, and the hook procedure did not process the message, it is highly recommended that you call CallNextHookEx and return the value it returns; otherwise, other applications that have installed WH_KEYBOARD_LL hooks will not receive hook notifications and may behave incorrectly as a result."

http://msdn.microsoft.com/en-us/library/ms644985%28VS.85%29.aspx [^]

- Issue History
Date Modified Username Field Change
2009-07-06 08:20 nil_von_9wo New Issue
2009-07-06 15:01 Kaloth Note Added: 0000161
2009-07-07 10:52 nil_von_9wo Note Added: 0000162
2009-07-07 10:52 nil_von_9wo Issue Monitored: nil_von_9wo
2009-07-07 10:53 nil_von_9wo Note Edited: 0000162
2009-07-08 15:01 Kaloth Note Added: 0000163
2009-07-08 15:01 Kaloth Status new => assigned
2009-07-08 15:01 Kaloth Assigned To => Kaloth
2009-07-08 15:01 Kaloth Issue Monitored: Kaloth
2009-07-08 15:15 nil_von_9wo Note Added: 0000164
2009-07-13 11:07 Kaloth Note Added: 0000165
2009-07-13 14:05 nil_von_9wo Note Added: 0000166
2009-07-13 16:40 Kaloth Note Added: 0000167
2009-07-15 12:17 Kaloth Status assigned => resolved
2009-07-15 12:17 Kaloth Resolution open => no change required
2009-07-15 12:28 nil_von_9wo Note Added: 0000168
2009-07-15 12:28 nil_von_9wo Status resolved => feedback
2009-07-15 12:28 nil_von_9wo Resolution no change required => reopened
2009-07-16 09:31 Kaloth Note Added: 0000169
2009-07-19 12:56 Kaloth Status feedback => resolved
2009-07-19 12:56 Kaloth Resolution reopened => no change required


Mantis 1.1.2[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker