Some keys don't fire up

Report any bugs or suspicious behaviour here
Post Reply
quirinux
Posts: 3
Joined: 15 Dec 2017, 10:36

Some keys don't fire up

Post by quirinux » 15 Dec 2017, 10:46

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

admin
Site Admin
Posts: 735
Joined: 01 Nov 2010, 13:00
Location: Prague, Czech republic
Contact:

Re: Some keys don't fire up

Post by admin » 15 Dec 2017, 10:49

Share your lua code pls
Petr Medek
LUAmacros author

vebster
Posts: 1
Joined: 02 May 2019, 09:27

Re: Some keys don't fire up

Post by vebster » 02 May 2019, 09:28

Thanks for the codes!
I want to know what it is all about. It's all about sports. It's my true passion. Right now I want to visit https://usopen.club/.

ross_CAL
Posts: 6
Joined: 13 Oct 2021, 06:36

Re: Some keys don't fire up

Post by ross_CAL » 14 Oct 2021, 02:09

I am having the same issue with the Calc key not passing to the handler. Was there any resolution to this?

Post Reply