TalonRing Class - TalonRing/Talon-DevKit GitHub Wiki

TalonRing Class

The TalonRing API is a polling-style API which gives you access to the ring's data from buttons and sensors. You can easily access it from the Update() method in any of your game objects.

Property Description
DeviceId Returns TalonRing's deviceId.
Orientation Returns TalonRing's current orientation in space, as a quaternion.
Accel Returns TalonRing's accelerometer reading.
Gyro Returns TalonRing's gyroscope reading.
Mag Returns TalonRing's magnetometer reading.
BatteryLevel Returns TalonRing's current battery level.
RingMode Updates TalonRing's mode - Fist or Palm.
Handedness Updates TalonRing's handedness - Right or Left.
TopButton Returns true while the user holds down the Top button.
TopButtonDown Returns true Top button was just pressed.
TopButtonUp Returns true if Top button was just released.
BottomButton Returns true while the user holds down the Bottom button.
BottomButtonDown Returns true Bottom button was just pressed.
BottomButtonUp Returns true if Bottom button was just released.
RingTapped If true, TalonRing body was just tapped.
Recentered If true, TalonRing was just recentered.

TalonRing Coordinate

The TalonRing coordinate system is left-handed, same to Unity's coordinate system.

  • The positive X axis points to the right.
  • The positive Y axis points upwards.
  • The positive Z axis points forwards.