Looking for the InputKeyService code that compares button voltages.
Posted: Thu Dec 08, 2022 2:22 am
I have a Lyra MiniT and I'm trying to find where in the esp-adf code, the InputKey Service actually reads the analog input chanel and determines which key is being pressed.
I've found the button ID definitions, and the analog chanel definition and various callbacks, but I just can find any reference to the six button voltages that appear on the schematic.
Is there a definition of the voltages somewhere?
Thanks for any help....
Note: I'm looking to expand the number of buttons on a custom input device.
EDIT: Never mind, I found it as soon as I postd: /components/esp_peripherals/lib/adc_button/adc_button.c
I've found the button ID definitions, and the analog chanel definition and various callbacks, but I just can find any reference to the six button voltages that appear on the schematic.
Is there a definition of the voltages somewhere?
Thanks for any help....
Note: I'm looking to expand the number of buttons on a custom input device.
EDIT: Never mind, I found it as soon as I postd: /components/esp_peripherals/lib/adc_button/adc_button.c