TolikPylypchuk / SharpHook

SharpHook provides a cross-platform global keyboard and mouse hook, event simulation, and text entry simulation for .NET
https://sharphook.tolik.io
MIT License
347 stars 32 forks source link

Simulation of keys while NumLock is on #105

Closed Butcher-vj closed 6 months ago

Butcher-vj commented 6 months ago

sharpHook.Native Event simulator : In windows, while trying to simulate a ArrowUp, ArrowLeft, ArrowRight and ArrowDown keys with numlock being on in the remote machine, results in simulating like 8 for ArrowUp and 6 for ArrowRight and 4 for ArrowLeft and 2 for ArrowDown.

TolikPylypchuk commented 6 months ago

Hi! Thanks for posting this issue! I've fixed a similar problem in the latest version - 5.3.4. Could you please make sure that you're using the latest version? I've just tried to reproduce it, and everything works fine for me. If you are using the latest version, and the problem is present, then I will think about the cause and how to fix it.

Butcher-vj commented 6 months ago

Hi! Thanks for posting this issue! I've fixed a similar problem in the latest version - 5.3.4. Could you please make sure that you're using the latest version? I've just tried to reproduce it, and everything works fine for me. If you are using the latest version, and the problem is present, then I will think about the cause and how to fix it.

Thanks for letting me know. I have been using 5.3.1 version, now after updated to 5.3.4 its working fine.