diff options
author | kitty piapiac <kcp@bsd.computer> | 2023-04-18 18:29:03 -0700 |
---|---|---|
committer | kitty piapiac <kcp@bsd.computer> | 2023-04-18 18:29:03 -0700 |
commit | 599cde356b576759475d34dbfadb5548926c089d (patch) | |
tree | 0bb3459c0fe07cc421c4e0e93b197b9373f72487 /include | |
parent | f1d602f5dcf862907affd1479eb3b2d132d7d639 (diff) |
input init
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 |