4.974 alpha adds a new feature for low level remapping of specific keyboard keys.
This will really remap your keys, so the system will think that a specific key is now a different key. This is only for pretty specific scenarios (e.g. if you want to transform right-shift into forward delete or similar)
There are two ways to trigger it:
The new trigger type "Remap Keyboard Key" in the "Automations, Named & Other Triggers" section
The predefined action "Remap Keyboard Key (Low Level)"
Rereading my sentence it doesn't really make sense though It of course changes the output of the key that has been remapped, but it can only change it to keys that exist - and I don't think there is a dedicated tilde key. (e.g. if you remap right-shift to "grave_accent_and_tilde" on a german keyboard layout it will now produce the < character.)
I tried changing a to b, as in your example, and that worked. But when I remap Right Option to Fn, nothing happens. Neither when set as a trigger nor as an action.
By the way, is Fn supposed to function as the Globe key on an Apple keyboard?
I tried both "Fn / function key" and "keyboard_fn", but neither worked. If I remap Right Option to something like "A," it works. However, if I remap "E" to "Fn / function key", it doesn’t work either. Clearly, the issue lies with the Fn key.
I even tried switching my Czech QWERTZ layout to US English QWERTY to see if that might be causing the problem, but it didn’t help. It also doesn’t matter whether I use the internal or external keyboard, the issue remains the same.
I’m not worthy of such quick development. It seems to be working. I can now remap Right Ctrl to Globe, and the shortcuts assigned to it are functioning as intended. Thanks a lot!
not really, it‘s just for remapping keys at a low level.
If you use Karabiner just for that, then yes, you might be able to use BTT instead.
You can also achieve some interesting things when remapping a key to do nothing - when doing this it can still be recognized by BTT‘s Key Sequences feature
we already went over this last year haha, thing is I want to use that hyper key in Key Sequences; not direct shortcuts as I want to mimic layer-like functionality.
for this reason, I switched to karabiner elements for hyperkey related functionality. i also use karabiner for implementing colemak dh instead of qwerty since the macos one doesn't work all the time
can you quickly describe again what you mean by layer like? Most likely this is now possible with BTT - but no need to switch from Karabiner if it works!
I press caps lock + w to activate "Window Management Layer" and then I can let go of 'w' (or not) and then press a key like 'k' to center my currently focused window
I think it could be done by using the "BTTLastUsedKeyboardShortcut" in a condition like this (so basically checking whether the last shortcut was hyper+w), but definitely more work to set up than in Karabiner!