zmk/app/tests/key-repeat/tap-when-rolling/native_posix_64.keymap
Andrew Rae dffdb2365e test(core): Adding coverage for key pre-releasing.
Added cases for the two use cases I know of:
    1. Rolling with key-repeat behavior
    2. Rolling symbols that have the same base key, eg `+=`
2023-10-02 12:28:02 -07:00

14 lines
286 B
Plaintext

#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,1,9000)
ZMK_MOCK_PRESS(0,0,30)
ZMK_MOCK_RELEASE(0,1,30)
ZMK_MOCK_RELEASE(0,0,3000)
>;
};