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
#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") ;
}
}
}
`
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
#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") ;
}
}
}
`