MacOS issues with ESC / tilde and U.S. layout outputting §

Hi, I would like to use ESC in my base like this and it works.

but when switching to Super mode

I want it to be ` ~

this does not work and instead produces §

I think somehow MacOS is converting it automatically due to US keyboard layout?

Any good solution for this please, other then changing the input source? I wanna keep U.S. for programming.

I have already tried writing a macro that would write `
but it produces § anyway.

I need this especially for swapping between windows of the same type in MacOS.

Well, that screenshot shows ‘`’ on the iso key, so mapping one of the iso keys in the super layer should do the trick.

I guess you mean to get the character on the native mac keyboard from this position

and remap it to it?
I just tried that, on the native mac keyboard that key produces §
It’s not possible to input this in the UHK agent.
I have tried to capture the key and it selects this

not possible to write that char or paste it in macro

Try mapping it to | ISO

Or, if that doesn’t work, one of the International 1 to International 5 scancodes.

MacOS is different

1 Like

thank you, this works.

here is a screenshot for future visitors - don’t forget to also add LCmd modifier

2 Likes