SenseHatJoystick Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |