This is an Adobe Air Native Extension to access the gyroscope on the BlackBerry Playbook from an AIR application. This is meant to extend the Adobe Gyroscope ANE to support the BB Playbook:
http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/gyroscope.html
Usage:
Get the compiled ANE from the Gyroscope/ANE directory.
The Gyroscope.ane file is compatible with BlackBerry Playbook, iOS and Android.
Use it as described in the Adobe link above.
To compile:
Get the source code and compile it with the BlackBerry Native SDK 2.0.0+
Get the Adobe files and add this into the extension.xml file:
<platform name="QNX-ARM">
<applicationDeployment>
<nativeLibrary>libGyroscope-arm.so</nativeLibrary>
<initializer>ExtensionInitializer</initializer>
<finalizer>ExtensionFinalizer</finalizer>
</applicationDeployment>
</platform>
You will have to package the ANE as described in the article above.