How to hook/remap an arbitrary keyboard event on OSX?

后端 未结 2 1899
一向
一向 2020-12-05 16:26

I would like to map:

  • CAPS-LOCK to Fn
  • Fn to Left-MOUSE
  • LSHIFT+3 to #
2条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-05 17:20

    Have you checked out Karabiner (which does all that you want to do.. up till OSX 10.11 .. MacOS 10.12 changed the keyboard driver model, and the authors - mainly Tekezo- are still re writing Karabiner to take account of the new model - this is as of feb 2017) Karabiner is open source, and you can download the code from Github and twiddle with it.

    As part of the re-write they have released Karabiner-elements which works on 10.12 Sierra, but cannot yet do everything that karabiner did.

    Karabiner is very powerful, and I miss it greatly on 10.12

提交回复
热议问题