function Gyroscope()
{
	/**
	 * Alpha rotation.
	 *
	 * @property alpha
	 * @type {number}
	 */
	this.alpha = 0;
	
	/**
	 * Beta rotation.
	 *
	 * @property beta
	 * @type {number}
	 */
	this.beta = 0;

	/**
	 * Gamma rotation.
	 *
	 * @property gamma
	 * @type {number}
	 */
	this.gamma = 0;

	/**
	 * Device orientation.
	 *
	 * @property orientation
	 * @type {number}
	 */
	this.orientation = 0;

	this.events = new EventManager();

	var self = this;

	// Orientation
	this.events.add(window, "orientationchange", function(event)
	{
		self.orientation = TMath.degToRad(window.orientation);
	});

	// Device orientation
	this.events.add(window, "deviceorientation", function(event)
	{
		self.alpha = TMath.degToRad(event.alpha);
		self.beta = TMath.degToRad(event.beta);
		self.gamma = TMath.degToRad(event.gamma);
	});

	// Initialize events
	this.events.create();
}
Gyroscope object can be used to get the orientation from the device.

@class Gyroscope
@module Input