1/* 2 * Copyright 2024 Kelly Helmut Lord 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <zephyr/dt-bindings/input/input-event-codes.h> 8 9/ { 10 fake_input_device: fake-device { 11 compatible = "vnd,input-device"; 12 }; 13 14 double_tap: doubletap { 15 input = <&fake_input_device>; 16 compatible = "zephyr,input-double-tap"; 17 input-codes = <INPUT_KEY_0>, <INPUT_KEY_1>; 18 double-tap-codes = <INPUT_KEY_X>, <INPUT_KEY_Y>; 19 double-tap-delay-ms = <300>; 20 }; 21}; 22