Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 596 Bytes

supportsGyroscope.markdown

File metadata and controls

22 lines (14 loc) · 596 Bytes

device.supportsGyroscope

 
Type Boolean
Library device.*
Keywords gyroscope, event
See also Sample code

Overview

This property indicates whether the device running the application supports gyroscope events.

Example

local device = require 'plugin.device'

print( device.supportsGyroscope )