Can't find how to read the button value on RAK5205 firmware

Issue: All is in the title, I can’t find for example where in the source code the only physic button of the RAK5205 is triggering the restart of the device… I want to use it for an other application.

Thank you for your help !