This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Assign action/event to custom button installed in other PIN

Is there a way to achieve what bsp_event_to_button_action_assign(button_id, action, event) does but using my own button?

The functions requires a button_id like 0,1,2,3 not a custom GPIO pin, but what if I have a button connected to a custom pin like P0.06

Related