# CategorySensor

SDL sensor management.

These APIs grant access to gyros and accelerometers on various platforms.

In order to use these functions, [SDL_Init](SDL_Init)() must have been
called with the [SDL_INIT_SENSOR](SDL_INIT_SENSOR) flag. This causes SDL to
scan the system for sensors, and load appropriate drivers.

<!-- END CATEGORY DOCUMENTATION -->

## Functions

<!-- DO NOT HAND-EDIT CATEGORY LISTS, THEY ARE AUTOGENERATED AND WILL BE OVERWRITTEN, BASED ON TAGS IN INDIVIDUAL PAGE FOOTERS. EDIT THOSE INSTEAD. -->
<!-- BEGIN CATEGORY LIST: CategorySensor, CategoryAPIFunction -->
- [SDL_CloseSensor](SDL_CloseSensor)
- [SDL_GetSensorData](SDL_GetSensorData)
- [SDL_GetSensorFromID](SDL_GetSensorFromID)
- [SDL_GetSensorID](SDL_GetSensorID)
- [SDL_GetSensorName](SDL_GetSensorName)
- [SDL_GetSensorNameForID](SDL_GetSensorNameForID)
- [SDL_GetSensorNonPortableType](SDL_GetSensorNonPortableType)
- [SDL_GetSensorNonPortableTypeForID](SDL_GetSensorNonPortableTypeForID)
- [SDL_GetSensorProperties](SDL_GetSensorProperties)
- [SDL_GetSensors](SDL_GetSensors)
- [SDL_GetSensorType](SDL_GetSensorType)
- [SDL_GetSensorTypeForID](SDL_GetSensorTypeForID)
- [SDL_OpenSensor](SDL_OpenSensor)
- [SDL_UpdateSensors](SDL_UpdateSensors)
<!-- END CATEGORY LIST -->

## Datatypes

<!-- DO NOT HAND-EDIT CATEGORY LISTS, THEY ARE AUTOGENERATED AND WILL BE OVERWRITTEN, BASED ON TAGS IN INDIVIDUAL PAGE FOOTERS. EDIT THOSE INSTEAD. -->
<!-- BEGIN CATEGORY LIST: CategorySensor, CategoryAPIDatatype -->
- [SDL_Sensor](SDL_Sensor)
- [SDL_SensorID](SDL_SensorID)
<!-- END CATEGORY LIST -->

## Structs

<!-- DO NOT HAND-EDIT CATEGORY LISTS, THEY ARE AUTOGENERATED AND WILL BE OVERWRITTEN, BASED ON TAGS IN INDIVIDUAL PAGE FOOTERS. EDIT THOSE INSTEAD. -->
<!-- BEGIN CATEGORY LIST: CategorySensor, CategoryAPIStruct -->
- (none.)
<!-- END CATEGORY LIST -->

## Enums

<!-- DO NOT HAND-EDIT CATEGORY LISTS, THEY ARE AUTOGENERATED AND WILL BE OVERWRITTEN, BASED ON TAGS IN INDIVIDUAL PAGE FOOTERS. EDIT THOSE INSTEAD. -->
<!-- BEGIN CATEGORY LIST: CategorySensor, CategoryAPIEnum -->
- [SDL_SensorType](SDL_SensorType)
<!-- END CATEGORY LIST -->

## Macros

<!-- DO NOT HAND-EDIT CATEGORY LISTS, THEY ARE AUTOGENERATED AND WILL BE OVERWRITTEN, BASED ON TAGS IN INDIVIDUAL PAGE FOOTERS. EDIT THOSE INSTEAD. -->
<!-- BEGIN CATEGORY LIST: CategorySensor, CategoryAPIMacro -->
- [SDL_STANDARD_GRAVITY](SDL_STANDARD_GRAVITY)
<!-- END CATEGORY LIST -->


----
[CategoryAPICategory](CategoryAPICategory)

