blob: 36d39fbc83e402ac17bc5b2bd19041cfcda51e0b (
plain) (
tree)
|
|
#ifndef CLAK_BOARD_H_
#define CLAK_BOARD_H_
struct board {
void (*on_down)(void);
void (*on_up)(void);
char *name;
};
struct board_data {
void (*sound_play)(unsigned char *buffer, unsigned int buffer_len);
};
typedef struct board *(*fn_board_init)(struct board_data data);
#endif /* CLAK_BOARD_H_ */
|