mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 17:58:27 +00:00
Added documentation for additional Android sensors
This commit is contained in:
parent
de5367a612
commit
8adadf8f0e
1 changed files with 7 additions and 1 deletions
|
@ -59,7 +59,13 @@ typedef struct _SDL_Sensor SDL_Sensor;
|
||||||
*/
|
*/
|
||||||
typedef Sint32 SDL_SensorID;
|
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
|
typedef enum
|
||||||
{
|
{
|
||||||
SDL_SENSOR_INVALID = -1, /**< Returned for an invalid sensor */
|
SDL_SENSOR_INVALID = -1, /**< Returned for an invalid sensor */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue