summary refs log tree commit diff stats
path: root/firmware/include/inputs/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/inputs/input.h')
-rw-r--r--firmware/include/inputs/input.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/firmware/include/inputs/input.h b/firmware/include/inputs/input.h
new file mode 100644
index 0000000..7899ce7
--- /dev/null
+++ b/firmware/include/inputs/input.h
@@ -0,0 +1,23 @@
+#pragma once
+
+#include "inputs/button.h"
+
+namespace inputs {
+
+class Input {
+public:
+    Input(/* pins */);
+
+    void init();
+
+    bool down_pressed();
+    bool up_pressed();
+    bool right_pressed();
+    bool left_pressed();
+    bool a_pressed();
+    bool b_pressed();
+
+private:
+};
+
+}