Skip to main content

Interface IDigitalJoystick

Interface describing digital joysticks and d-pads.

Assembly: Meadow.Contracts.dll​
View Source​
Declaration
public interface IDigitalJoystick

Properties​

Position​

Gets the position of the joystick.

View Source​
Declaration
DigitalJoystickPosition? Position { get; }

Events​

Updated​

Raised when a new reading has been made.

View Source​
Declaration
event EventHandler<ChangeResult<DigitalJoystickPosition>> Updated
Event Type​

System.EventHandler<Meadow.ChangeResult<Meadow.Peripherals.Sensors.Hid.DigitalJoystickPosition>>