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