SetWindowTitle( "Sensor Test" )
SetWindowSize( GetDeviceWidth(), GetDeviceHeight(), 1 )
// set display properties
SetVirtualResolution( GetDeviceWidth(), GetDeviceHeight() )
SetOrientationAllowed( 1, 1, 0, 0 )
Repeat
Print( " AccelX: " + Str( GetRawAccelX() ) )
Print( " AccelY: " + Str( GetRawAccelY() ) )
Print( " AccelZ: " + Str( GetRawAccelZ() ) )
Print( " GPS Alt: " + Str( GetRawGPSAltitude() ) )
Print( " GPS Lat: " + Str( GetRawGPSLatitude() ) )
Print( " GPS Long: " + Str( GetRawGPSLongitude() ) )
Print( " Gyro Vel X: " + Str( GetRawGyroVelocityX() ) )
Print( " Gyro Vel Y: " + Str( GetRawGyroVelocityY() ) )
Print( " Gyro Vel Z: " + Str( GetRawGyroVelocityZ() ) )
Print( "Light Level: " + Str( GetRawLightLevel() ) )
Print( " Mag X: " + Str( GetRawMagneticX() ) )
Print( " Mag Y: " + Str( GetRawMagneticY() ) )
Print( " Mag Z: " + Str( GetRawMagneticZ() ) )
Print( " Proximity: " + Str( GetRawProximityDistance() ) )
Print( " Rot W: " + Str( GetRawRotationVectorW() ) )
Print( " Rot W2: " + Str( GetRawRotationVectorW2() ) )
Print( " Rot X: " + Str( GetRawRotationVectorX() ) )
Print( " Rot X2: " + Str( GetRawRotationVectorX2() ) )
Print( " Rot Y: " + Str( GetRawRotationVectorY() ) )
Print( " Rot Y2: " + Str( GetRawRotationVectorY2() ) )
Print( " Rot Z: " + Str( GetRawRotationVectorZ() ) )
Print( " Rot Z2: " + Str( GetRawRotationVectorZ2() ) )
Print( " FPS: " + Str( ScreenFPS(), 2 ) )
Sync()
Until GetRawKeyReleased( 27 )
Using the above code, the following sensors return values: ( No Values = 0.000000, Negative No Values = -0.000000 )
GetRawAccelX: Values
GetRawAccelY: Values
GetRawAccelZ: Values
GetRawGPSAltitude: No Values
GetRawGPSLatitude: No Values
GetRawGPSLongitude: No Values
GetRawGyroVelocityX: Values
GetRawGyroVelocityY: Values
GetRawGyroVelocityZ: Values
GetRawLightLevel: Values
GetRawMagneticX: No Values
GetRawMagneticY: No Values
GetRawMagneticZ: No Values
GetRawProximityDistance: Always shows 5
GetRawRotationVectorW: No Values
GetRawRotationVectorW2:No Values
GetRawRotationVectorX: Negative No Values
GetRawRotationVectorX2: No Values
GetRawRotationVectorY: Negative No Values
GetRawRotationVectorY2: Negative No Values
GetRawRotationVectorZ: No Values
GetRawRotationVectorZ2: No Values
I think I'll just put stock Android on it and save the hassle, but at least we know that this version of CM doesn't work with most of the sensor commands.