Skip to main content

Class WiiClassicController

Represents a Nintendo Wii I2C Classic Controller

Assembly: WiiExtensionControllers.dll
View Source
Declaration
public class WiiClassicController : WiiClassicControllerBase, II2cPeripheral

Inheritance: System.Object -> Meadow.Foundation.Sensors.Hid.WiiExtensionControllerBase

Implements:
Meadow.Hardware.II2cPeripheral

Properties

DPad

D-pad

View Source
Declaration
public IDigitalJoystick DPad { get; }

XButton

X Button

View Source
Declaration
public IButton XButton { get; }

YButton

Y Button

View Source
Declaration
public IButton YButton { get; }

AButton

A Button

View Source
Declaration
public IButton AButton { get; }

BButton

B Button

View Source
Declaration
public IButton BButton { get; }

LButton

L Button

View Source
Declaration
public IButton LButton { get; }

RButton

R Button

View Source
Declaration
public IButton RButton { get; }

ZLButton

ZL Button (at bottom of trigger)

View Source
Declaration
public IButton ZLButton { get; }

ZRButton

ZR Button (at bottom of trigger)

View Source
Declaration
public IButton ZRButton { get; }

PlusButton

  • Button
View Source
Declaration
public IButton PlusButton { get; }

MinusButton

  • Button
View Source
Declaration
public IButton MinusButton { get; }

HomeButton

Home Button

View Source
Declaration
public IButton HomeButton { get; }

LeftAnalogStick

Left analog joystick (6 or 8 bits of precision)

View Source
Declaration
public IAnalogJoystick LeftAnalogStick { get; }

RightAnalogStick

Right analog joystick (5 or 8 bits of precision)

View Source
Declaration
public IAnalogJoystick RightAnalogStick { get; }

LeftTrigger

Left analog trigger (5 or 8 bits of precision)

View Source
Declaration
public IAnalogTrigger LeftTrigger { get; }

RightTrigger

Right analog trigger (5 or 8 bits of precision)

View Source
Declaration
public IAnalogTrigger RightTrigger { get; }

Methods

Update()

Get the latest sensor data from the device

View Source
Declaration
public override void Update()

Implements

  • Meadow.Hardware.II2cPeripheral