Class WiiNunchuck
Represents a Nintendo Wii I2C Nunchuck
Assembly: WiiExtensionControllers.dll
View Source
public class WiiNunchuck : WiiExtensionControllerBase, II2cPeripheral
Inheritance: System.Object
-> Meadow.Foundation.Sensors.Hid.WiiExtensionControllerBase
Implements:
Meadow.Hardware.II2cPeripheral
Properties
CButton
C Button
View Source
public IButton CButton { get; }
ZButton
Z Button
View Source
public IButton ZButton { get; }
AnalogStick
Analog joystick (8 bits of precision)
View Source
public IAnalogJoystick AnalogStick { get; }
Acceleration3D
Acceleration data from accelerometer
View Source
public Acceleration3D? Acceleration3D { get; protected set; }
Methods
Update()
Get the latest sensor data from the device
View Source
public override void Update()
Implements
Meadow.Hardware.II2cPeripheral