zmk/app/tests/key-repeat/send-nothing-if-no-keys-pressed-yet/native_posix.keymap
Peter Johanson 80ae9c9aa5 feat(behaviors): &key_repeat behavior + tests.
* Add new `&key_repeat` behavior that captures and re-sends
  the most recently triggered keycode.

Closes: #853
2021-12-02 21:33:09 +00:00

11 lines
No EOL
213 B
Text

#include <dt-bindings/zmk/keys.h>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/kscan_mock.h>
#include "../behavior_keymap.dtsi"
&kscan {
events = <
ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_RELEASE(0,0,10)
>;
};