cajhin / capsicain

Powerful low-level keyboard remapping tool for Windows
334 stars 18 forks source link

Activate config when holding a key #46

Open MatejKafka opened 3 years ago

MatejKafka commented 3 years ago

In my config, I'm using CapsLock for special characters, so I can type e.g. & by pressing CapsLock-u. However, the remap is quite long, as I have to repeat the modifier for each COMBO remap. It seems cleaner to me to say "when holding CapsLock, switch to config2", and then define the new layout without the modifier, which is (afaik) currently not possible.

A more general solution could be to add support for up/down-strokes, so that I could define something like COMBO caps up > configSwitch(2).

alenros commented 1 year ago

I used a hack to do something similar - capslock toggle capsicain on\off, and then maps to a numpad:

GLOBAL capsicainOnOffKey CAPS [CONFIG_1] REWIRE Q 4 REWIRE W 5 REWIRE E 6 REWIRE A 7 REWIRE S 8 REWIRE D 9 REWIRE F 0 REWIRE 1 X