From 1a20ccb2897fc9b12ad5242f9128cb6bb60368b1 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 6 Apr 2023 09:54:39 -0700 Subject: [PATCH] Clarified the expected sensor value when a game controller is at rest --- include/SDL3/SDL_sensor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL3/SDL_sensor.h b/include/SDL3/SDL_sensor.h index 5211f01009..9b4a48290b 100644 --- a/include/SDL3/SDL_sensor.h +++ b/include/SDL3/SDL_sensor.h @@ -83,7 +83,7 @@ typedef enum * The accelerometer returns the current acceleration in SI meters per * second squared. This measurement includes the force of gravity, so * a device at rest will have an value of SDL_STANDARD_GRAVITY away - * from the center of the earth. + * from the center of the earth, which is a positive Y value. * * values[0]: Acceleration on the x axis * values[1]: Acceleration on the y axis