From 54d573332e162f637ef3d4347bea90c9cc1f4aa5 Mon Sep 17 00:00:00 2001 From: Xander Date: Fri, 29 Aug 2025 15:20:39 +0100 Subject: [PATCH] Add SDL_SENSOR_COUNT to SDL_SensorType (cherry picked from commit dc7a3a1219384a010efd90229fa48d0e203f8977) --- include/SDL3/SDL_sensor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/SDL3/SDL_sensor.h b/include/SDL3/SDL_sensor.h index b220f0538c..43366f1357 100644 --- a/include/SDL3/SDL_sensor.h +++ b/include/SDL3/SDL_sensor.h @@ -138,7 +138,8 @@ typedef enum SDL_SensorType SDL_SENSOR_ACCEL_L, /**< Accelerometer for left Joy-Con controller and Wii nunchuk */ SDL_SENSOR_GYRO_L, /**< Gyroscope for left Joy-Con controller */ SDL_SENSOR_ACCEL_R, /**< Accelerometer for right Joy-Con controller */ - SDL_SENSOR_GYRO_R /**< Gyroscope for right Joy-Con controller */ + SDL_SENSOR_GYRO_R, /**< Gyroscope for right Joy-Con controller */ + SDL_SENSOR_COUNT } SDL_SensorType;