Can the right alt key be mapped to the left alt key in macOS?

Is there a way to remap the keys on a Macbook running macOS 10.15.3, having the right alt key behaving as the left alt key? Apparently there is a difference, because I'm running into the issue where the option (⌥ / alt) keys are not recognised after pressing right-hand option (⌥ / alt) key in NetBeans 11.2.

As I'm disabled, it makes it really hard for me to use the left alt key in combination with the arrow keys, which makes it hard to extend selections with words in NetBeans (and that's something I use a lot). So I hope there is a solution for this other than waiting for the NetBeans developers to fix this.

3

1 Answer

Mapping keys is possible using Karabiner-Elements.

Make sure to reboot after installing. When starting the tool it will prompt you to set privacy permissions. Do so in the settings:

Now it just a matter of setting the mapping:

See also

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like