arduino stuffs
Diffstat (limited to 'steer/buttons.h')
-rw-r--r--steer/buttons.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/steer/buttons.h b/steer/buttons.h
new file mode 100644
index 0000000..2b0f12d
--- /dev/null
+++ b/steer/buttons.h
@@ -0,0 +1,16 @@
+#ifndef BUTTONS_H
+#define BUTTONS_H
+
+namespace Controller {
+// #define MODE_STEERING_WHEEL
+#define MODE_GAMEPAD
+// #define GAMEPAD_USE_TRIGGERS
+#define GAMEPAD_USE_BUTTONS
+
+/// @brief sets up the pins
+void begin();
+
+/// @brief reads the pins, and sends it to the computer
+void send();
+}; // namespace Controller
+#endif \ No newline at end of file