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