6 typedef void (*ButtonAction_fn
)();
8 #if defined(GPIO_PIN_BUTTON)
9 extern device_t Button_device
;
15 typedef struct action
{
22 void registerButtonFunction(action_e action
, ButtonAction_fn function
);
23 size_t button_GetActionCnt();
25 inline void registerButtonFunction(uint8_t action
, ButtonAction_fn function
) {}
26 inline size_t button_GetActionCnt() { return 0; }