diff options
author | Nicholas Tay <nick@windblume.net> | 2022-05-07 23:26:27 +1000 |
---|---|---|
committer | Nicholas Tay <nick@windblume.net> | 2022-05-07 23:47:37 +1000 |
commit | 047544a5af9100ec269e9222213385bc7794f619 (patch) | |
tree | 6a632da957c05fb790fdd63745e99b867c945274 /platform/platform.h | |
parent | ecb4cff6f34783fd345419c0069c685793521e80 (diff) | |
download | clak-047544a5af9100ec269e9222213385bc7794f619.tar.gz clak-047544a5af9100ec269e9222213385bc7794f619.tar.bz2 clak-047544a5af9100ec269e9222213385bc7794f619.zip |
Split out platform-specific code for Windows
Not sure if I'm really doing it in the best way possible. Feels a bit
weird that some place assumes the existence of other functions.
Diffstat (limited to 'platform/platform.h')
-rw-r--r-- | platform/platform.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/platform/platform.h b/platform/platform.h new file mode 100644 index 0000000..da1efa6 --- /dev/null +++ b/platform/platform.h @@ -0,0 +1,10 @@ +#ifndef CLAK_PLATFORM_H_ +#define CLAK_PLATFORM_H_ + +bool sound_init(float volume); +void sound_play(unsigned char *buffer); +void keyboard_unhook(void); +bool keyboard_hook(void); +void enter_idle(void); + +#endif /* CLAK_PLATFORM_H_ */
\ No newline at end of file |