blob: 5aebd66f438352707d2d951a63ea2b9e008a6b07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
enum Key { K_LEFT, K_RIGHT, K_UP, K_DOWN, K_O };
enum KeyState { KS_UP, KS_DOWN, KS_PRESSED };
void input_update(void);
int input_up(unsigned int);
int input_down(unsigned int);
int input_pressed(unsigned int);
#ifdef __cplusplus
}
#endif
|