Platforms to show: All Mac Windows Linux Cross-Platform
Sudden Motion Sensor
The module to access the Sudden Motion Sensor on Mac OS X.
- Modules
- module UniMotionMBS
- method DetectSMS as Integer
- method LoadLibrary(file as folderitem) as boolean
- method ReadSMS(type as Integer, byref x as Integer, byref y as Integer, byref z as Integer) as boolean
- method ReadSMSraw(type as Integer, byref x as Integer, byref y as Integer, byref z as Integer) as boolean
- method ReadSMSrawBytes(type as Integer) as memoryblock
- method ReadSMSreal(type as Integer, byref x as Double, byref y as Double, byref z as Double) as boolean
- method ReadSMSscaled(type as Integer, byref x as Integer, byref y as Integer, byref z as Integer) as boolean
- const highrespb =3
- const ibook =2
- const macbookpro =4
- const powerbook =1
- const unknown =0
- module UniMotionMBS
- Blog Entries
Release notes
- Version 24.1
- Removed UniMotionMBS module.
- Version 22.5
- Deprecated UniMotionMBS module.