Interface IAnalogJoystick
Interface describing 2-axis analog joysticks
Assembly: Meadow.Contracts.dll
View Source
public interface IAnalogJoystick
Properties
IsHorizontalInverted
Is the horizontal / x-axis inverted
View Source
bool IsHorizontalInverted { get; set; }
IsVerticalInverted
Is the vertical / y-axis inverted
View Source
bool IsVerticalInverted { get; set; }
Position
Current position of analog joystick
View Source
AnalogJoystickPosition? Position { get; }
Events
Updated
Raised when a new reading has been made.
View Source
event EventHandler<IChangeResult<AnalogJoystickPosition>> Updated
Event Type
System.EventHandler<Meadow.IChangeResult<Meadow.Peripherals.Sensors.Hid.AnalogJoystickPosition>>