Edit

Share via


SenseHatJoystick Class

Definition

SenseHAT - Joystick

public class SenseHatJoystick : IDisposable
type SenseHatJoystick = class
    interface IDisposable
Public Class SenseHatJoystick
Implements IDisposable
Inheritance
SenseHatJoystick
Implements

Constructors

SenseHatJoystick(I2cDevice)

Constructs SenseHatJoystick instance

Fields

I2cAddress

Default I2C address

Properties

HoldingButton

Is holding button

HoldingDown

Is holding down

HoldingLeft

Is holding left

HoldingRight

Is holding right

HoldingUp

Is holding up

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Read()

Read joystick state

Applies to