diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/input.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/input.h b/include/input.h new file mode 100644 index 0000000..0a54d19 --- /dev/null +++ b/include/input.h @@ -0,0 +1,9 @@ +#ifndef MINO_INPUT_H +#define MINO_INPUT_H +#include"mino.h" +typedef struct{U32 x,y;}InputPoint; +typedef struct{U32 f;}InputButtons; +enum{IB_1=1<<0,IB_2=1<<1,IB_3=1<<2,IB_4=1<<3}; +X InputPoint input_point(V); +X InputButtons input_buttons(V); +#endif |