Skip to content

Double shift issue #6

@remypzt

Description

@remypzt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions