aboutsummaryrefslogtreecommitdiff
path: root/platform/platform.h
blob: ca077892bde11c595d1edd0bbe05c4978aa07bbf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef CLAK_PLATFORM_H_
#define CLAK_PLATFORM_H_

#include <stdbool.h>

#include "../board/board.h"

struct board *load_board(char *board_name);

bool sound_init(float volume);
void sound_play(unsigned char *buffer, unsigned int buffer_len);

void keyboard_unhook(void);
bool keyboard_hook(void);

void enter_idle(void);

#endif /* CLAK_PLATFORM_H_ */