summaryrefslogtreecommitdiffhomepage
path: root/src/input.h
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2024-05-11 21:30:23 -0400
committerrealtradam <[email protected]>2024-05-11 21:30:23 -0400
commit8855c3de33c487e09b6a8fd474b0dd351ab3581c (patch)
tree37a6a5190d51375ea56c8a6012e1986e159dd168 /src/input.h
parentdf5f113e746a9c6941ccb7c2076aa52ece33923e (diff)
downloadtojam2024-8855c3de33c487e09b6a8fd474b0dd351ab3581c.tar.gz
tojam2024-8855c3de33c487e09b6a8fd474b0dd351ab3581c.zip
split screen
Diffstat (limited to 'src/input.h')
-rw-r--r--src/input.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/input.h b/src/input.h
new file mode 100644
index 0000000..5fa4d1a
--- /dev/null
+++ b/src/input.h
@@ -0,0 +1,12 @@
+#ifndef GAME_INPUT_H
+#define GAME_INPUT_H
+
+#include <libdragon.h>
+
+extern joypad_buttons_t pressed_p1;
+extern joypad_buttons_t held_p1;
+extern joypad_inputs_t inputs_p1;
+
+void updateController(void);
+
+#endif