summaryrefslogtreecommitdiffstats
path: root/input.h
diff options
context:
space:
mode:
authorsumuel <samuel@yakubos.org>2026-07-15 06:46:24 +0100
committersumuel <samuel@yakubos.org>2026-07-15 06:46:24 +0100
commitf29f867a18ee82d6c79900420b6a6d5f66a75f18 (patch)
tree900a0cf9f59f2485e1eb0c190f7c16ef5082babb /input.h
init
Diffstat (limited to 'input.h')
-rw-r--r--input.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/input.h b/input.h
new file mode 100644
index 0000000..d5f026f
--- /dev/null
+++ b/input.h
@@ -0,0 +1,18 @@
+#ifndef INPUT_H_ /* Include guard */
+#define INPUT_H_
+
+/* declare cursor position */
+extern int cursorPosX;
+extern int cursorPosY;
+
+/* Error stuff */
+
+extern int turns;
+
+/* The piece to be moved goes here */
+extern char hand;
+
+int InputBoard(char board[8][8], int keypress); /* declare the function */
+
+#endif // INPUT_H_
+