Lines Matching +full:input +full:- +full:longpress
4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
10 fake_input_device: fake-device {
11 compatible = "vnd,input-device";
14 longpress: longpress {
15 input = <&fake_input_device>;
16 compatible = "zephyr,input-longpress";
17 input-codes = <INPUT_KEY_0>, <INPUT_KEY_1>;
18 short-codes = <INPUT_KEY_A>, <INPUT_KEY_B>;
19 long-codes = <INPUT_KEY_X>, <INPUT_KEY_Y>;
20 long-delay-ms = <100>;
23 longpress_no_short: longpress-no-short {
24 input = <&fake_input_device>;
25 compatible = "zephyr,input-longpress";
26 input-codes = <INPUT_KEY_0>, <INPUT_KEY_1>;
27 long-codes = <INPUT_KEY_X>, <INPUT_KEY_Y>;
28 long-delay-ms = <100>;