Hi,
for a custom reset data (and IP) function, I wonder if one can detect, whether the reset and/or boot key is pressed and hold (Lyra Ultra).
Any idea?
Thanks
Any way to poll the reset or boot keys in an app?
Hello, for the boot button of lyra ultra, you can add the adc-key driver to the device tree by modifying it, and register it as an input node (/dev/input/eventX). Then, you can write an application to check whether the boot button has been triggered to achieve the functionality you need.
Enable the adc-key driver in the device tree for the boot/reset button, expose it as an input device (/dev/input/eventX), and then read that input event in your application to detect when the button is pressed....

