Results 1 - 16 of 16 results out of about 6837 pages. (4.14 seconds)
- SDL_SensorUpdate . . . 1 match
- ...the thread that initialized the sensor subsystem.
<<TableOfContents()>>
== Syntax ==
{{{#!highlight cpp
void SDL_SensorUpdate(void);
}}}
----
[[CategoryAPI]], [[CategorySensor]]...
- SDL_SensorType . . . 1 match
- ... sensor type||
||SDL_SENSOR_ACCEL||Accelerometer||
||SDL_SENSOR_GYRO||Gyroscope||
== Related Functions ==
. [[SDL_SensorGetDeviceType]]
----
[[CategoryEnum]], [[CategorySensor]]...
- SDL_SensorOpen . . . 1 match
- ...Parameters ==
||'''device_index'''||The sensor to open||
== Return Value ==
A [[SDL_Sensor]] sensor object, or NULL if an error occurred.
----
[[CategoryAPI]], [[CategorySensor]]...
- SDL_SensorGetType . . . 1 match
- ...r'''||The [[SDL_Sensor]] object to inspect||
== Return Value ==
The [[SDL_SensorType]] type, or SDL_SENSOR_INVALID if the sensor is NULL.
----
[[CategoryAPI]], [[CategorySensor]]...
- SDL_SensorGetNonPortableType . . . 1 match
- ...|'''sensor'''||The [[SDL_Sensor]] object to inspect||
== Return Value ==
The sensor platform dependent type, or -1 if the sensor is NULL.
----
[[CategoryAPI]], [[CategorySensor]]...
- SDL_SensorGetName . . . 1 match
- ...
== Function Parameters ==
||'''sensor'''||The [[SDL_Sensor]] object||
== Return Value ==
The sensor name, or NULL if the sensor is NULL.
----
[[CategoryAPI]], [[CategorySensor]]...
- SDL_SensorGetInstanceID . . . 1 match
- ...ameters ==
||'''sensor'''||The [[SDL_Sensor]] object to inspect||
== Return Value ==
The sensor instance ID, or -1 if the sensor is NULL.
----
[[CategoryAPI]], [[CategorySensor]]...
- SDL_SensorGetDeviceType . . . 1 match
- ...x'''||The sensor to get the type from||
== Return Value ==
The [[SDL_SensorType]], or SDL_SENSOR_INVALID if device_index is out of range.
----
[[CategoryAPI]], [[CategorySensor]]...
- SDL_SensorGetDeviceNonPortableType . . . 1 match
- ...||'''device_index'''||The sensor to check||
== Return Value ==
The sensor platform dependent type, or -1 if device_index is out of range.
----
[[CategoryAPI]], [[CategorySensor]]...
- SDL_SensorGetDeviceName . . . 1 match
- ...rs ==
||'''device_index'''||The sensor to obtain name from||
== Return Value ==
The sensor name, or NULL if device_index is out of range.
----
[[CategoryAPI]], [[CategorySensor]]...
- SDL_SensorGetDeviceInstanceID . . . 1 match
- ...''device_index'''||The sensor to get instance id from||
== Return Value ==
The sensor instance ID, or -1 if device_index is out of range.
----
[[CategoryAPI]], [[CategorySensor]]...
- SDL_SensorGetData . . . 1 match
- ...h the current sensor state||
||'''num_values'''||The number of values to write to data||
== Return Value ==
0 or -1 if an error occurred.
----
[[CategoryAPI]], [[CategorySensor]]...
- SDL_SensorFromInstanceID . . . 1 match
- ...stance_id);
}}}
== Function Parameters ==
||'''instance_id'''||The sensor from instance id||
== Return Value ==
A [[SDL_Sensor]] object.
----
[[CategoryAPI]], [[CategorySensor]]...
- SDL_SensorClose . . . 1 match
- ...ighlight cpp
void SDL_SensorClose(SDL_Sensor *sensor);
}}}
== Function Parameters ==
||'''sensor'''||The [[SDL_Sensor]] object to close||
----
[[CategoryAPI]], [[CategorySensor]]...
- SDL_NumSensors . . . 1 match
- ...evice_index'''||The device index to check||
== Return Value ==
The sensor platform dependent type, or -1 if device_index is out of range.
----
[[CategoryAPI]], [[CategorySensor]]...
- APIByCategory . . . 1 match
- ...dl.org/SDL/file/default/include/SDL_gamecontroller.h|SDL_gamecontroller.h]] ||
||[[CategorySensor|Sensors]] ||[[http://hg.libsdl.org/SDL/file/default/include/SDL_sensor.h|SDL_senso...
