cajhin / capsicain

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

missing documentation for normal key modifiers #106

Open kbilsted opened 4 months ago

kbilsted commented 4 months ago

The readme tells me I can remap eg. F to access a layer on the keyboard. I've tried reading the documentation and using F as the modifier key rather than your documented capslock

I can remap the f+i to up, but tapping f does not give me a f. It seems REWRITE and virtual keys both don't do exactly what I want. Is there a solution?

[CONFIG_1]
OPTION debug
OPTION configName navi

REWIRE F MOD15

COMBO I [&.. .... .... ....] > key(UP)

I can see in the output window that the mod is registered as tabbed

 [21 0=     F >    MOD15v ] [M:4000 T:4000 D:      ]   --  MOD15v
 [21 1=     F >    MOD15^ ] [M:     T:4000 D:      ]   --  MOD15^ (tap)
 [21 0=     F >    MOD15v ] [M:4000 T:4000 D:      ]   --  MOD15v
 [21 1=     F >    MOD15^ ] [M:     T:4000 D:      ]   --  MOD15^ (tap)
 [21 0=     F >    MOD15v ] [M:4000 T:4000 D:      ]   --  MOD15v

A COMBO just as a modifier tab does not have an effect

COMBO  [T.. .... .... ....] > key(F)
cajhin commented 4 months ago

what you want is

REWIRE F MOD15 F

This means holding f results in MOD15, and tapping F results in F. For details see https://github.com/cajhin/capsicain/wiki/Keyword:-REWIRE

Note that this doesn't work well when you type fast - you must always release the F key before you press the next one (e.g. when I type "for", I usually press O before I release F, which would not work as intended with your config)

kbilsted commented 4 months ago

thanks, so far it seems im typing too fast for this to be a viable approach sadly