love.sensor

Available since LÖVE 12.0
This module is not supported in earlier versions.

Provides functionality to access device sensors such as an accelerometer or gyroscope.

Functions

love.sensor.hasSensor Check in-device sensor availability. Added since 12.0

Enums

SensorType Kinds of sensors. Added since 12.0

See Also

Other Languages