love.sensorupdated
Available since LÖVE 12.0 |
This callback is not supported in earlier versions. |
Called when the in-device sensor is updated with new values.
Only sensors enabled with love.sensor.setEnabled will trigger this event.
Function
Synopsis
love.sensorupdated( sensorType, x, y, z )
Arguments
SensorType sensorType
- The type of sensor.
number x
- The new sensor 1st value.
number y
- The new sensor 2nd value.
number z
- The new sensor 3rd value.
Returns
Nothing
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info