houmain / keymapper

A cross-platform context-aware key remapper.
GNU General Public License v3.0
260 stars 22 forks source link

Keys remapped to Pause outputs NumLock #30

Closed rfarkv closed 1 year ago

rfarkv commented 2 years ago

A >> Pause # pressing "A" outputs NumLock instead of Pause

Tested with a standard Dell Keyboard and a 60% GamaKay MK61.

houmain commented 2 years ago

Thanks for reporting. This should be fixed in 2.1.4.

rfarkv commented 2 years ago

@houmain It worked! Still has a problem though. If i use the Meta key with Pause, Pause is then "changed" to NumLock. So if i do "MetaLeft{Pause}" it will be recognized as MetaLeft{NumLock}, i think.

rfarkv commented 2 years ago

@houmain Any news on that?

houmain commented 2 years ago

I finally had so time to try this on Windows, with a keyboard which has these keys. But I could not reproduce any strange behavior. This was my configuration:

Meta{Pause} >> A
Meta{NumLock} >> B
F3 >> Meta{Pause}
F4 >> Meta{NumLock}

Pressing Meta+Pause outputted A, Meta+NumLock outputted B, F3 opened the System dialog and F4 toggled the NumLock-LED. What are you trying to achieve, with which configuration? Thanks!

rfarkv commented 2 years ago

Hey! Sorry for the delayed answer. Maybe the problem is my conf file? If you want to have a look.

With keymapper activated (with the conf file above) if i press Meta{Pause} it outputs NumLock. I can fix this by adding Meta >> Meta on line 11 (will kinda break another remap). or MetaLeft{Pause} >> MetaLeft{Pause} on line 74 (i'm using this atm).

If it matters, both my keboards need the FN key to activate the Pause button.

(I know i can improve my conf file by using context, modifiers, etc., i'm just playing with the remaps at the moment.)

Thank you!

houmain commented 2 years ago

I could reproduce it with this configuration:

Meta{A} >> B

Pressing Meta+Pause triggered a Pause followed by a NumLock. It should be fixed in a9b62730d0641cb91ab43e476b1bf77566fa5e56. Thank you for the thorough report!

rfarkv commented 1 year ago

Hey! The last release kinda fixed it but i'm still not able to use MetaLeft{Pause}. If i do MetaLeft{Pause} it outputs Pause only, omiting Meta.

houmain commented 1 year ago

Could you please try version 2.1.6? Now it should open the windows system dialog.