koekeishiya / skhd

Simple hotkey daemon for macOS
MIT License
6.05k stars 204 forks source link

Is there a way to use alphabet keys as a modifier #293

Open isometricmax opened 1 year ago

isometricmax commented 1 year ago

Let's say I want the "a" key to be a modifier, so when I hold "a" and hit "h", skhd will simulate "left". I'd like the "a" key to still send "a" when tapped, similar to QMK's mod-tap.

Something like this: a - h : skhd -k "left"

I want to try this with both alphabet keys and F-keys if possible.

tjex commented 1 year ago

I don't think this is possible. Although I'm not a pro with skhd. But from what I understand skhd does not have any mechanics to differentiate between 'held' and 'tapped'. Also modifier keys can't be remapped, as mentioned here [#189]