Peter Johanson
52b1fd5dd3
fix(behaviors): Capture mods for `&key_repeat`
...
* When tracking the last keycode, also capture the currently held
explicit modifiers to use when replaying the key later.
3 years ago
Peter Johanson
70bb7c9334
feat(behaviors): `&key_repeat` behavior + tests.
...
* Add new `&key_repeat` behavior that captures and re-sends
the most recently triggered keycode.
Closes : #853
3 years ago
Peter Johanson
54dabffd0d
feat(behaviors): Add caps word (`&caps_word`).
...
* Add new `&caps_word` behavior that acts like caps lock, but
releases automatically when any "break" keycode is pressed.
3 years ago
innovaker
842aa5a842
refactor: replace filename hyphens with underscores
...
Aligns *.h and *.c to underscore naming convention.
These were kept (with warnings) for backwards compatibility with external boards/shields:
- kscan-mock.h
- matrix-transform.h
They should be removed in the future.
PR: #523
4 years ago
Okke Formsma
6927abee6e
chore(tests): remove useless &cp test
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
Cody McGinnis
f02fa01e9a
fix(test): change the layout
4 years ago