From 269d2a1e9647148f274cff773ddc6b18ed36c4ae Mon Sep 17 00:00:00 2001 From: Ulysse Cura Date: Fri, 20 Feb 2026 17:28:45 +0100 Subject: [PATCH] Corrected pins --- program/src/headers/inputs.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/program/src/headers/inputs.h b/program/src/headers/inputs.h index 20b4e48..b5d5540 100644 --- a/program/src/headers/inputs.h +++ b/program/src/headers/inputs.h @@ -12,16 +12,16 @@ typedef enum inputs_pin_t { BUTTON_WHITE_PIN = 6, BUTTON_GREEN_PIN = 2, - BUTTON_L_PIN = 9, - BUTTON_R_PIN = 13, + BUTTON_L_PIN = 13, + BUTTON_R_PIN = 9, } inputs_pin_t; #define JOYSTICK_X_AXIS_ADC_INPUT 0 #define JOYSTICK_Y_AXIS_ADC_INPUT 1 typedef struct inputs_t { - int8_t joystick_x; - int8_t joystick_y; + int16_t joystick_x; + int16_t joystick_y; struct { bool button_black : 1;