The following sections detail the code samples that accompany this chapter.
This project contains the complete source code for the Gyroscope extension developed throughout the course of this chapter. Compiled versions of the extension have also been included so you can build the other example projects for this chapter without having to first build the extension itself.
The GyroTest project is a simple example that makes use of the Gyroscope extension. It demonstrates how to include the Gyroscope extension into a project, how to check if the extension is available, and then how to call the extension function if it is available.
The sample will be displayed on screen whether or not gyroscope support is available. If it is, the raw gyroscope values will also be displayed on screen.