Type | Boolean |
Library | device.* |
Keywords | gyroscope, event |
See also | Sample code |
This property indicates whether the device running the application supports gyroscope events.
local device = require 'plugin.device'
print( device.supportsGyroscope )