From 599cde356b576759475d34dbfadb5548926c089d Mon Sep 17 00:00:00 2001 From: kitty piapiac Date: Tue, 18 Apr 2023 18:29:03 -0700 Subject: input init --- include/input.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 include/input.h (limited to 'include') 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 -- cgit v1.2.3