I've been busy with IRL things so I haven't gotten a chance to work on it yet, but I was thinking about how I'm going to implement a mobile specific API, and I wanted to get your opinion on it before I start. Hopefully it will be compatible with both Android and iOS, but I don't have a macOS computer and don't feel like jumping through hoops.
`MobileDevice` Object
----------------------
MobileDevice.Default [read-only]
Gets the device running miniSphere. This will likely only exist on mobile builds
MobileDevice.Platform [read-only]
Can be 'android' or 'ios'
MobileDevice#activateTiltSensor()
Activates the device's tilt sensor. If it is not activated, calling
MobileDevice#getTilt() will return null
MobileDevice#deactivateTiltSensor()
Deactivates the device's tilt sensor
MobileDevice#getTilt()
Returns an object with x, y, and z float values representing the device's angle
MobileDevice#activateAccelerometer()
Activates the device's accelerometer. If it is not activated, calling
MobileDevice#getAcceleration() will return null
MobileDevice#deactivateAccelerometer()
Deactivates the device's accelerometer
MobileDevice#getAcceleration()
Returns an object with x, y, and z float values representing the device's
current acceleration
MobileDevice#deactivateAllSensors()
Deactivates all currently activated sensors
MobileDevice#getTouchCoordinates()
Returns an array of objects with x and y coordinates for the current number
of touches. If the screen isn't being touched, it will return a 0-length array.
Thoughts?