From 8adadf8f0eb3fe83ee97ae37f5ed82f35d21b79d Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 23 Aug 2018 10:51:54 -0700 Subject: [PATCH] Added documentation for additional Android sensors --- include/SDL_sensor.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/SDL_sensor.h b/include/SDL_sensor.h index 5fd17519d..e51757093 100644 --- a/include/SDL_sensor.h +++ b/include/SDL_sensor.h @@ -59,7 +59,13 @@ typedef struct _SDL_Sensor SDL_Sensor; */ typedef Sint32 SDL_SensorID; -/* The different sensor types */ +/* The different sensors defined by SDL + * + * Additional sensors may be available, using platform dependent semanticsx + * + * Hare are the additional Android sensors: + * https://developer.android.com/reference/android/hardware/SensorEvent.html#values + */ typedef enum { SDL_SENSOR_INVALID = -1, /**< Returned for an invalid sensor */