summary refs log tree commit diff stats
path: root/firmware/include/inputs/button.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--firmware/include/inputs/button.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/firmware/include/inputs/button.h b/firmware/include/inputs/button.h
new file mode 100644
index 0000000..c3530ae
--- /dev/null
+++ b/firmware/include/inputs/button.h
@@ -0,0 +1,16 @@
+#pragma once
+
+#include <cstdint>
+
+namespace inputs {
+
+class Button {
+public:
+    Button(uint8_t pin);
+
+    bool is_pressed();
+
+private:
+};
+
+}