// This function receives the Euler angle input event with rotation
// about the x, y, and z axis.
function OVRSensorRotEuler(%pitch, %roll, %yaw)
{
   // Output the absolute rotation of the Oculus Rift's sensor
   echo("Sensor Euler: " @ %pitch SPC %roll SPC %yaw);
}

// Turn off angled axis reporting and turn on Euler angle reporting
$OculusVR::GenerateAngleAxisRotationEvents = false;
$OculusVR::GenerateEulerRotationEvents = true;
moveMap.bind( oculusvr, ovr_sensorrotang0, OVRSensorRotEuler );