89 #endif // SFML_SENSOR_H CSFML_WINDOW_API sfVector3f sfSensor_getValue(sfSensorType sensor)
Get the current sensor value.
3-component vector of floats
Measures the direction and intensity of device acceleration, independent of the gravity (m/s^2) ...
CSFML_WINDOW_API sfBool sfSensor_isAvailable(sfSensorType sensor)
Check if a sensor is available on the underlying platform.
Measures the raw acceleration (m/s^2)
Measures the raw rotation rates (degrees/s)
CSFML_WINDOW_API void sfSensor_setEnabled(sfSensorType sensor, sfBool enabled)
Enable or disable a sensor.
Measures the direction and intensity of gravity, independent of device acceleration (m/s^2) ...
Measures the absolute 3D orientation (degrees)
Measures the ambient magnetic field (micro-teslas)
sfSensorType
Sensor Types.
Keep last – the total number of sensor types.