koekeishiya / skhd

Simple hotkey daemon for macOS
MIT License
6.16k stars 205 forks source link

Simple key mapping doesn't work #361

Open Soromeister opened 3 months ago

Soromeister commented 3 months ago

I am trying to do a very simple key remapping, basically remap § to ` (tick) and get the buttons inverted.

I tried the below configs:

0x0A : 0x32
0x0A = 0x32
0x0A -> 0x32

Nothing works so I'm opening an issue here to ask if this is even possible and if so, please provide examples as the current documentation is very ambiguous and completely lacks examples.

Permissions have been given and I've restarted the service for each change to make sure it's loaded.

tjex commented 1 month ago

I think you may need to be looking at skhd -k, to simulate a keypress of another key, when pressing a certain key:

a : skhd -k "f"
f <- I typed this by pressing 'a'