Open Nick-Munnich opened 1 month ago
Added toggle-mode flag to both the key toggle and toggle layer behaviors. Toggle mode can be set to
toggle-mode
Tested locally with basic functionality. I don't see an edge case where this might cause issues.
Note that if key toggle on is spammed, it will repeatedly send over the "press" code.
Resolves #2523.
Can we please add some tests that exercise this new functionality?
Yeah, I was just thinking that. Going to do so (and fix an oopsie I noticed) and then undraft.
Added
toggle-mode
flag to both the key toggle and toggle layer behaviors. Toggle mode can be set toTested locally with basic functionality. I don't see an edge case where this might cause issues.
Note that if key toggle on is spammed, it will repeatedly send over the "press" code.
Resolves #2523.