From 6a20196bc363e398ea195786bebeb94c7cb98d96 Mon Sep 17 00:00:00 2001 From: Jasmine Iwanek Date: Tue, 21 Oct 2025 01:44:51 -0400 Subject: [PATCH] Fix incorrect joystick button counts --- src/game/joystick_standard.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game/joystick_standard.c b/src/game/joystick_standard.c index 0876a21a2..59b3460a2 100644 --- a/src/game/joystick_standard.c +++ b/src/game/joystick_standard.c @@ -544,7 +544,7 @@ const joystick_t joystick_4axis_2button = { .read_axis = joystick_standard_read_axis_4axis, .a0_over = joystick_standard_a0_over, .axis_count = 4, - .button_count = 3, + .button_count = 2, .pov_count = 0, .max_joysticks = 1, .axis_names = { "X axis", "Y axis", "Z axis", "zX axis" }, @@ -797,7 +797,7 @@ const joystick_t joystick_steering_wheel_2_button = { .read_axis = joystick_standard_read_axis_3axis, .a0_over = joystick_standard_a0_over, .axis_count = 3, - .button_count = 4, + .button_count = 2, .pov_count = 0, .max_joysticks = 1, .axis_names = { "Steering axis", "Accelerator axis", "Brake axis" }, @@ -815,7 +815,7 @@ const joystick_t joystick_steering_wheel_3_button = { .read_axis = joystick_standard_read_axis_3axis, .a0_over = joystick_standard_a0_over, .axis_count = 3, - .button_count = 4, + .button_count = 3, .pov_count = 0, .max_joysticks = 1, .axis_names = { "Steering axis", "Accelerator axis", "Brake axis" },