Add support for the gyroscope.