User button configuration

Hello,

How do I configure the user button? More specifically, how do I know when it’s being pressed?

I was looking at the GPIO table, but there’s nothing relevant there, the documentation says this button should be configurable, but nothing else.

Thanks!