Class WiiClassicControllerPro
Represents a Nintendo Wii I2C Classic Controller Pro
Assembly: WiiExtensionControllers.dll
View Source
public class WiiClassicControllerPro : WiiClassicControllerBase, II2cPeripheral
Inheritance: System.Object
-> Meadow.Foundation.Sensors.Hid.WiiExtensionControllerBase -> Meadow.Foundation.Sensors.Hid.WiiClassicControllerBase
Implements:
Meadow.Hardware.II2cPeripheral
Properties
DPad
D-pad
View Source
public IDigitalJoystick DPad { get; }
XButton
X Button
View Source
public IButton XButton { get; }
YButton
Y Button
View Source
public IButton YButton { get; }
AButton
A Button
View Source
public IButton AButton { get; }
BButton
B Button
View Source
public IButton BButton { get; }
LButton
L Button
View Source
public IButton LButton { get; }
RButton
R Button
View Source
public IButton RButton { get; }
ZLButton
ZL Button (at bottom of trigger)
View Source
public IButton ZLButton { get; }
ZRButton
ZR Button (at bottom of trigger)
View Source
public IButton ZRButton { get; }
PlusButton
- Button
View Source
public IButton PlusButton { get; }
MinusButton
- Button
View Source
public IButton MinusButton { get; }
HomeButton
Home Button
View Source
public IButton HomeButton { get; }
LeftAnalogStick
Left analog joystick (6 or 8 bits of precision)
View Source
public IAnalogJoystick LeftAnalogStick { get; }
RightAnalogStick
Right analog joystick (5 or 8 bits of precision)
View Source
public IAnalogJoystick RightAnalogStick { get; }
Methods
Update()
Get the latest sensor data from the device
View Source
public override void Update()
Implements
Meadow.Hardware.II2cPeripheral