TapHoldManager icon indicating copy to clipboard operation
TapHoldManager copied to clipboard

Double shift issue

Open remypzt opened this issue 5 years ago • 0 comments

Hi and thanks a lot for your job

I 've successfully customize my keyboard for when I make an double taps on shift it's change the capslock status but i met an issues : it's seems like I must have an super time precision and fast for it's work and it's strange because I don't have the same behavior if I replace Shift by an another keypad I'd spend plenty of time to find a solutions but i can't found it. can you help me ? Thanks

This is my code :

`#include <TapHoldManager> #SingleInstance force

thm := new TapHoldManager(, , 2) ; thm.Add("LShift", Func("LockCapsFunc")) ; return

LockCapsFunc(isHold, taps){ if (isHold){ } else { ; Respond to multi-tap if (taps == 2){ SetCapsLockState % !GetKeyState("CapsLock", "T") ; } } } `

remypzt avatar May 06 '20 17:05 remypzt