Okke Formsma
6927abee6e
chore(tests): remove useless &cp test
4 years ago
Okke Formsma
e00eceb508
fix(sticky keys): fix tapping-sticky-keys bug.
...
Sticky keys should be cleared when they were tapped in rapid succession before the timer runs out.
4 years ago
Okke Formsma
3bf770a364
bugfix(sticky keys): release active sticky keys properly
...
see https://github.com/zmkfirmware/zmk/issues/445
4 years ago
Okke Formsma
76a6d7b4c5
feat(sticky keys): initial implementation
4 years ago
Okke Formsma
e48a6b659c
fix momentary layer bug when top layer is not &trans
...
Key release events released keys on the wrong layer if the 'top layer'
was not &trans above the &mo key.
base <&mo 1>
layer 1 <&kp B>
This was caused by overwriting
`zmk_keymap_active_behavior_layer[position]` after the &mo key was
handled.
4 years ago
Pete Johanson
eff1b8223b
refactor(keys): Unify usage page.
...
* Remove need for separate `&cp` behavior, but
keep it for now for backward compat.
* Refactor sensor inc/dec as well.
4 years ago
innovaker
aebe90908d
test: Replace superseded key names in test keymaps
...
Replace deprecated key names (LSFT, LCTL, RCTL, M_NEXT).
Replace abbreviated names with fully qualified names (LSFT, LCTL, LALT, LGUI, RGUI).
Follow-up to #21 .
4 years ago
Okke Formsma
4f258efbf1
initial implementation for modifiers
...
https://github.com/zmkfirmware/zmk/issues/86
4 years ago
Okke Formsma
d38740cebf
Add timestamps to position and behavior events ( #147 )
...
* Add timestamps to position events and behaviors.
- Take original event timestamps into consideration so nested tap-holds have proper timing.
- Add position and timestamp to keycode state changed event so the one-shot behavior can properly identify other keypresses and timings.
- Add timestamp to position events received from peripheral
* reduce number of arguments to behaviors
4 years ago
Cody McGinnis
a65de800bf
fix(tests): pending tests pass now
4 years ago
Okke Formsma
c5ca664411
some fixes based on feedback
4 years ago
Okke Formsma
f6a9c1ee57
rename tests
4 years ago
Okke Formsma
c33931c72c
Initial implementation of hold-tap
4 years ago
Cody McGinnis
80bef160fc
feat(tests): allow tests to be marked as pending
...
pending tests will not fail the build
4 years ago
Cody McGinnis
26414a6982
fix(docs): move testing docs to website docs
4 years ago
Cody McGinnis
4564d37477
feat(test): create simple docs for creating tests
4 years ago
Cody McGinnis
e2f77f25c8
feat(test): add testing for transparent
4 years ago
Cody McGinnis
a722cbcea3
feat(test): add tests for toggle layer
4 years ago
Cody McGinnis
3d325ccb84
feat(test): add tests for none behavior
4 years ago
Cody McGinnis
abf8b5abfa
fix(test): fix normal momentary-layer test snapshot
4 years ago
Cody McGinnis
de92bf2b2d
fix(test): use a smaller value for mock key intervals
4 years ago
Cody McGinnis
5f56266a69
feat(test): add tests for momentary layers
4 years ago
Cody McGinnis
f02fa01e9a
fix(test): change the layout
4 years ago