#ifndef BUTTONS_H #define BUTTONS_H typedef enum { FRONT_LIGHT_INCREASE, FRONT_LIGHT_DECREASE, BACK_LIGHT_INCREASE, BACK_LIGHT_DECREASE, CAB_LIGHT, WIPPERS, SANDER, STARTER, CUT, HORN, }buttonAction; typedef struct { buttonAction btnAcc; const char* name; char shortcut; int pin; }action; void button_event_cb(void *arg, void *data); void initialize_buttons(); #endif // BUTTONS_H