blob: 92fd8ed2bc0dd9e517e35417b7ecc833c5190a06 [file] [log] [blame]
/*
* Copyright 2023 Google LLC
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <dt-bindings/input/input-event-codes.h>
/ {
fake_input_device: fake-device {
compatible = "vnd,input-device";
};
longpress: longpress {
input = <&fake_input_device>;
compatible = "zephyr,input-longpress";
input-codes = <INPUT_KEY_0>, <INPUT_KEY_1>;
short-codes = <INPUT_KEY_A>, <INPUT_KEY_B>;
long-codes = <INPUT_KEY_X>, <INPUT_KEY_Y>;
long-delay-ms = <100>;
};
};