- Have you examined the sample that comes with the simulator?
You can build that and install it on your device and see if the values you get are what you need.
- Whatever the case, you’ll probably need to do some math to convert the values to what you need. The values don’t come out in degrees.
https://docs.coronalabs.com/api/event/gyroscope/index.html
radians to degrees calc required>>> https://docs.coronalabs.com/api/event/gyroscope/xRotation.html#gotchas
Note: A gyroscope by (as determined by the physics of the concept) is designed to measure torque which is then translated to changes in rotation over time, not orientation of the device held in a static position.
Please build and install the sample ‘Gyroscope’ that comes with the simulator, then modify it to display in degrees and I think you’ll be fine to convert/use it from there.