Browse Source

Clarified the expected sensor value when a game controller is at rest

Sam Lantinga 2 years ago
parent
commit
1a20ccb289
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/SDL3/SDL_sensor.h

+ 1 - 1
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