Lines Matching +full:input +full:- +full:code
2 # SPDX-License-Identifier: Apache-2.0
5 Input driver for ADC attached resistor ladder buttons.
13 #include <dt-bindings/input/input-event-codes.h>
17 compatible = "adc-keys";
18 io-channels = <&adc 2>;
19 keyup-threshold-mv = <0>;
22 press-thresholds-mv = <1650>, /* KEY0 */
24 zephyr,code = <INPUT_KEY_0>;
28 press-thresholds-mv = <2300>, /* KEY1 */
30 zephyr,code = <INPUT_KEY_1>;
35 compatible: "adc-keys"
40 io-channels:
41 type: phandle-array
45 sample-period-ms:
52 keyup-threshold-mv:
58 child-binding:
61 press-thresholds-mv:
67 zephyr,code:
70 description: Key code to emit.