Skip to content

Commit dc7a3a1

Browse files
isXanderslouken
authored andcommitted
Add SDL_SENSOR_COUNT to SDL_SensorType
1 parent ee69cdc commit dc7a3a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/SDL3/SDL_sensor.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ typedef enum SDL_SensorType
138138
SDL_SENSOR_ACCEL_L, /**< Accelerometer for left Joy-Con controller and Wii nunchuk */
139139
SDL_SENSOR_GYRO_L, /**< Gyroscope for left Joy-Con controller */
140140
SDL_SENSOR_ACCEL_R, /**< Accelerometer for right Joy-Con controller */
141-
SDL_SENSOR_GYRO_R /**< Gyroscope for right Joy-Con controller */
141+
SDL_SENSOR_GYRO_R, /**< Gyroscope for right Joy-Con controller */
142+
SDL_SENSOR_COUNT
142143
} SDL_SensorType;
143144

144145

0 commit comments

Comments
 (0)