(AGK version: 2.0.16)
Submitted: 2015-12-30 04:56:11
// Project: gyrotest 
// Created: 2015-12-30

// set window properties
SetWindowTitle( "gyrotest" )
SetWindowSize( 1024, 768, 0 )

// set display properties
SetVirtualResolution( 1024, 768 )
SetOrientationAllowed( 1, 1, 1, 1 )

do
    
    Print( ScreenFPS() )
    REM This will print the values returned by the GetRawGyroVelocity commands
    REM str(value) simply converts the value to a string.
    Print( "Raw Gyro Velocity X: " + str(GetRawGyroVelocityX()))
    Print( "Raw Gyro Velocity Y: " + str(GetRawGyroVelocityY()))
    Print( "Raw Gyro Velocity Z: " + str(GetRawGyroVelocityZ()))
 
    Sync()
loop
Help make AGK better by submitting an example for this command!
(All examples are subject to approval)
Login to post an example of your own.