Loading...
Searching...
No Matches
Sensor.h
Go to the documentation of this file.
7// In no event will the authors be held liable for any damages arising from the use of this software.
@ sfSensorGravity
Measures the direction and intensity of gravity, independent of device acceleration (m/s^2)
Definition Sensor.h:45
@ sfSensorUserAcceleration
Measures the direction and intensity of device acceleration, independent of the gravity (m/s^2)
Definition Sensor.h:46
void sfSensor_setEnabled(sfSensorType sensor, sfBool enabled)
Enable or disable a sensor.
sfBool sfSensor_isAvailable(sfSensorType sensor)
Check if a sensor is available on the underlying platform.