70bb7c9334
* Add new `&key_repeat` behavior that captures and re-sends the most recently triggered keycode. Closes: #853
19 lines
331 B
Text
19 lines
331 B
Text
/*
|
|
* Copyright (c) 2021 The ZMK Contributors
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#include <dt-bindings/zmk/keys.h>
|
|
|
|
/ {
|
|
behaviors {
|
|
/omit-if-no-ref/ key_repeat: behavior_key_repeat {
|
|
compatible = "zmk,behavior-key-repeat";
|
|
label = "KEY_REPEAT";
|
|
#binding-cells = <0>;
|
|
usage-pages = <HID_USAGE_KEY>;
|
|
};
|
|
};
|
|
};
|
|
|