Lines Matching +full:short +full:- +full:codes
2 # SPDX-License-Identifier: Apache-2.0
5 Input longpress pseudo-device
8 corresponding to short and long press.
15 #include <zephyr/dt-bindings/input/input-event-codes.h>
19 compatible = "zephyr,input-longpress";
20 input-codes = <INPUT_KEY_0>, <INPUT_KEY_1>;
21 short-codes = <INPUT_KEY_A>, <INPUT_KEY_B>;
22 long-codes = <INPUT_KEY_X>, <INPUT_KEY_Y>;
23 long-delay-ms = <1000>;
28 # short press
43 compatible: "zephyr,input-longpress"
51 input-codes:
55 Array of input event key codes (INPUT_KEY_* or INPUT_BTN_*).
57 short-codes:
60 Optional array of key codes to be generated for short press (INPUT_KEY_* or
63 long-codes:
67 Array of key codes to be generated for long press (INPUT_KEY_* or
70 long-delay-ms: