Page 1 of 1

Some keys don't fire up

Posted: 15 Dec 2017, 10:46
by quirinux
Hope this is the best way to ask it:

My keyboard has a key to fire up a calc app and I want to remap it.
Its vk code is:

int: 183
hex: 0xB7
vk code description: VK_LAUNCH_APP2
It happens with that specific key code but could affect another ones like that

And get me the following log:

2017-12-14 10:57:04:679 [KBD]: RAW message: message WM_KEYDOWN, key code 183, extended 0, flags 2, makecode 0, direction UP, keyboard handle 0
2017-12-14 10:57:04:690 [HOOK]: Hook message: key code 183 [183], repeat 1, scan code 0, extended 1, alt 0, previous UP, direction DOWN
2017-12-14 10:57:04:690 [HOOK]: Key log match for key 183 direction 1, time diff 11 ms.
2017-12-14 10:57:04:690 [HOOK]: Raw message not yet arrived for key 183 direction 1, trying PeekMessage.
2017-12-14 10:57:04:690 [HOOK]: Key NOT FOUND in key log for key 183 direction 1.
2017-12-14 10:57:04:744 [KBD]: RAW message: message WM_KEYUP, key code 183, extended 0, flags 3, makecode 0, direction DOWN, keyboard handle 0
2017-12-14 10:57:04:753 [HOOK]: Hook message: key code 183 [183], repeat 1, scan code 0, extended 1, alt 0, previous DOWN, direction UP
2017-12-14 10:57:04:753 [HOOK]: Key log match for key 183 direction 0, time diff 9 ms.
2017-12-14 10:57:04:753 [HOOK]: Raw message not yet arrived for key 183 direction 0, trying PeekMessage.
2017-12-14 10:57:04:753 [HOOK]: Key NOT FOUND in key log for key 183 direction 0.
The last line comes from ukeylogservice.pas line 97, AssignDevice function right after calling AssignDeviceInLogRange and trying to pull the key from pile and store on pKS.DeviceHandle


Not sure if it's the expected behavior or if there's an intention to get this kind of keys working

Re: Some keys don't fire up

Posted: 15 Dec 2017, 10:49
by admin
Share your lua code pls

Re: Some keys don't fire up

Posted: 02 May 2019, 09:28
by vebster
Thanks for the codes!

Re: Some keys don't fire up

Posted: 14 Oct 2021, 02:09
by ross_CAL
I am having the same issue with the Calc key not passing to the handler. Was there any resolution to this?