pqrs-org / Karabiner-Elements

Karabiner-Elements is a powerful utility for keyboard customization on macOS Sierra (10.12) or later.
https://pqrs.org/osx/karabiner/
The Unlicense
18.56k stars 834 forks source link

Changing comma to period on numeric keypad #3129

Open Boublan opened 2 years ago

Boublan commented 2 years ago

About Karabiner-Elements 14.4.0 "Simple modification" : Trying to reverse the comma-period key of the numeric keypad. Does not work. I run an iMac M1 24" with macOS 12.4 (Monterey) and Magic Keyboard with Touch ID and numeric keypad.

What do I miss, or is there a known bug somewhere ? Some help would be appreciated.

MuhammedZakir commented 2 years ago
  1. Is this problem only with comma/period on numeric keypad? Does remapping other keys work?
  2. Do you have input modification enabled for that device? Check Karabiner-Elements preferences > Devices.
  3. Does Log tab show any errors?
Boublan commented 2 years ago

On 5 Jul 2022, at 18:19, Muhammed Zakir @.***> wrote: Dear Sir, thank you for answering so fast.

Is this problem only with comma/period on numeric keypad? Does remapping other keys work? I did not dare taking a risk. But I will try switching "a" to "A" and will keep you informed. Do you have input modification enabled for that device? Check Karabiner-Elements preferences > Devices. In "Preferences" I have set "Target device" to "Magic Keyboard with Touch ID and Numeric Keypad (Apple)" Does Log tab show any errors? There is a Warning "[grabber] virtual_hid_keyboard is not ready. Please wait for a while." It is followed by an Info "[grabber] Magic Keyboard with Touch ID and Numeric Keypad (device_id:4294969812) is ungrabbed." What am I supposed to do with that warning ?


What I had tried yesterday :

The Event-Viewer showed :

Boublan commented 2 years ago

On 5 Jul 2022, at 18:19, Muhammed Zakir @. @.>> wrote:

Does remapping other keys work? I tried some changes like "a" to "b", but nothing worked neither.

But at a time I got a notification that my keyboard "would be temporarily ignored until I press ..." but I had not the time to read exactly what it said,

Now, what can I do ? Reinstall Karabiner 14.4.0 ?

MuhammedZakir commented 2 years ago

You're welcome! :-)

Do you have input modification enabled for that device? Check Karabiner-Elements preferences > Devices. In "Preferences" I have set "Target device" to "Magic Keyboard with Touch ID and Numeric Keypad (Apple)"

I don't know whether UI has changed as I haven't used latest version. See this [1]. If the UI is the same, then check the box for "Modify events from this device" corresponding to the devices you want to modify. If the UI is not the same, please post a picture, or wait until I have installed the new version (may take some time).

[1] https://karabiner-elements.pqrs.org/docs/manual/configuration/configure-devices/

Does Log tab show any errors? There is a Warning "[grabber] virtual_hid_keyboard is not ready. Please wait for a while." It is followed by an Info "[grabber] Magic Keyboard with Touch ID and Numeric Keypad (device_id:4294969812) is ungrabbed." What am I supposed to do with that warning ?

Is that the last log message about that device? As long as there is a message about that device being grabbed after that "ungrabbed" message, it is fine.

But at a time I got a notification that my keyboard "would be temporarily ignored until I press ..." but I had not the time to read exactly what it said,

https://karabiner-elements.pqrs.org/docs/manual/misc/ignored-temporarily/

Now, what can I do ? Reinstall Karabiner 14.4.0 ?

Make sure (in this order):

  1. your device is grabbed.
  2. you have enabled input modification.

If both are okay, then create a new issue with details about your Mac, macOS version, Karabiner-Elements version, and your keyboard.

Boublan commented 2 years ago

As remapping does not work also for other keys than the numeric keybord, then I must reformulate my question : what can make any "simple modification" not to work ?! I am a long term Karabiner user (previous versions and older Macs) and never faced problems. Can anyone help ? A simple Apple script would be appreciated too.

MuhammedZakir commented 2 years ago

Please post Karabiner-Elements log in a gist and post the link here. You can set it to private. Also, is "Modify events from this device" enabled for devices you're trying to remap?

Boublan commented 2 years ago

On 14 Jul 2022, at 13:49, Muhammed Zakir @.***> wrote:

Please post Karabiner-Elements log in a gist and post the link here. You can set it to private. Also, is "Modify events from this device" enabled for devices you're trying to remap?

— Reply to this email directly, view it on GitHub https://github.com/pqrs-org/Karabiner-Elements/issues/3129#issuecomment-1184352129, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZ5WBUBPJTYBENW2ARS2ACTVT75EPANCNFSM52WXUXFQ. You are receiving this because you authored the thread.

Hello. The device is enabled :

The modification is actually "simple" ! :

Here is the log of all my experiments :

Thanks for your care.

MuhammedZakir commented 2 years ago

It looks like the email was messed up. Importants weren't uploaded.

P.S. I would also like to see the Karabiner-EventViewer's output when you press comma and period -- once before remapping, and once after remapping.

infoserviceIT commented 1 year ago

I have the same problem too. The remapping of the period and command key to the number pad on the Apple Magic Keyboard is not working. Has anyone found a solution? I have Mac OS Ventura 13.3.1 and karabiner v. 14.12.0

memolc02 commented 1 month ago

I found the solution. Simple Modification > "Keypad_period" - "period (.)" and that's it... that worked for me. Regards!

Boublan commented 1 month ago

Thank you "memolc02" for this info. After two years of various experimentations, my problem had still remain unresolved. In my case, your suggestion did not work either, alas. But it made me start again a new investigation. On Karabiner-Elements complex_modifications rules https://ke-complex-modifications.pqrs.org/ it appeared that someone discovered an anomaly specific to Belgian keyboard layout, which is my case. The rule he wrote solved finally my problem! Thanks to you all.

On 29 Jul 2024, at 21:53, memolc02 @.***> wrote:

I found the solution. Simple Modification > "Keypad_period" - "period (.)" and that's it... that worked for me. Regards!

— Reply to this email directly, view it on GitHub https://github.com/pqrs-org/Karabiner-Elements/issues/3129#issuecomment-2256778677, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZ5WBUDR3HB5CKZUFLXZBJLZO2MUNAVCNFSM6AAAAABLU56U6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJWG43TQNRXG4. You are receiving this because you authored the thread.