1234567891011121314151617181920212223242526272829303132333435363738 |
-
-
- #ifndef __BUTTONS_H__
- #define __BUTTONS_H__
-
- #include <stdbool.h>
-
- enum buttons {
- BTN_A = 0,
- BTN_B,
- BTN_C,
- BTN_REC,
- BTN_CLICK,
- NUM_BTNS
- };
-
- void buttons_init(void);
- void buttons_callback(void (*fp)(enum buttons, bool));
- void buttons_run(void);
-
- #endif
|