Mapping capslock to ESC on tap and LCtrl on hold #64
-
I'm trying to configure what is in title, and I have this in
But after refreshing EPKL, the capslock key is still mapped to |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
– Did you remember to put your mapping above the existing one, or comment out the existing one? EPKL will normally use the first (active) setting under each section. [edit: Oh hang on, in your example the mapping is indeed right under the – I'm sorry if this is badly explained in the docs, but to map to a dual-function Tap-or-Mod key you have to make the second part its AHK modifier name. In this case, that isn't the VK code I guess I ought to allow more aliases for the modifiers in the near future, to prevent such confusion! |
Beta Was this translation helpful? Give feedback.
-
Glad it (mostly) worked for you! But your syntax is right. I just tried out your No idea why it shouldn't for you. Maybe try out some other tacks like mapping another key to On a side note, it's not a bad idea you have there. Seems quite practical. If you have an Extend key elsewhere, that is... I'd never give up the power of Extend for another key or key combo! Heh. |
Beta Was this translation helpful? Give feedback.
– Did you remember to put your mapping above the existing one, or comment out the existing one? EPKL will normally use the first (active) setting under each section.
[edit: Oh hang on, in your example the mapping is indeed right under the
[layout]
section tag. All well then.I'll leave the above reply in for the benefit of future readers.]
– I'm sorry if this is badly explained in the docs, but to map to a dual-function Tap-or-Mod key you have to make the second part its AHK modifier name. In this case, that isn't the VK code
LCONTROL
nor EPKL's name for it such asvcLCT
, but AHK's nameLCtrl
. I tried it out, and it works.I guess I ought to allow more aliases for the modifiers in the nea…