Class SnesClassicController
Represents a Nintendo SNES Classic Mini controller
Assembly: WiiExtensionControllers.dll
View Source
public class SnesClassicController : 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; }
StartButton
- Button
View Source
public IButton StartButton { get; }
SelectButton
- Button
View Source
public IButton SelectButton { get; }
Methods
Update()
Get the latest sensor data from the device
View Source
public override void Update()
Implements
Meadow.Hardware.II2cPeripheral