pqrs-org / Karabiner-Elements

Karabiner-Elements is a powerful utility for keyboard customization on macOS Sierra (10.12) or later.
https://pqrs.org/osx/karabiner/
The Unlicense
18.72k stars 836 forks source link

caps lock to hyper #2665

Closed ouboub closed 3 years ago

ouboub commented 3 years ago

Hi

I either successfully compiled GNU emacs master or installed emacsformacosx.

In emacsformacosx I can map command to meta, option to super

but I would like to swap control with capslock

And then map capslock to hyper.

I also tried the karabiner app, which allows me that swap but there seems no way to map capslock into hyper.

What shall I do? Thanks

Uwe Brauer

ouboub commented 3 years ago

SOLVED: I have to map caps lock into left control and left control to fn then a lisp pkg called ns allows me to set (setq ns-alternate-modifier 'super) (setq ns-command-modifier 'meta) (setq ns-function-modifier 'hyper) (setq ns-antialias-text t)

ouboub commented 3 years ago

explained in the comment above