1/* 2 * Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <zephyr/dt-bindings/input/input-event-codes.h> 8#include <zephyr/dt-bindings/input/esp32-touch-sensor-input.h> 9 10&touch { 11 status = "okay"; 12 13 touch_sensor_set: touch_sensor_0 { 14 channel-num = <9>; 15 channel-sens = <20>; 16 zephyr,code = <INPUT_KEY_0>; 17 }; 18 19 touch_sensor_play: touch_sensor_1 { 20 channel-num = <8>; 21 channel-sens = <20>; 22 zephyr,code = <INPUT_KEY_1>; 23 }; 24 25 touch_sensor_vol_inc: touch_sensor_2 { 26 channel-num = <6>; 27 channel-sens = <20>; 28 zephyr,code = <INPUT_KEY_2>; 29 }; 30 31 touch_sensor_vol_dec: touch_sensor_3 { 32 channel-num = <4>; 33 channel-sens = <20>; 34 zephyr,code = <INPUT_KEY_3>; 35 }; 36}; 37