C# Class AForge.Controls.Joystick.Status

Class describing current joystick's status.

All joystick axes' positions are measured in [-1, 1] range, where 0 corresponds to center position - axis is not deflected (directed) to any side.

Afficher le fichier Open project: holisticware-admin/MonoVersal.AForgeNET

Méthodes publiques

Méthode Description
IsButtonPressed ( Buttons button ) : bool

Check if certain button (or combination of buttons) is pressed.

Private Methods

Méthode Description
Status ( JoystickAPI status, JoystickAPI capabilities ) : System

Method Details

IsButtonPressed() public méthode

Check if certain button (or combination of buttons) is pressed.
public IsButtonPressed ( Buttons button ) : bool
button Buttons Button to check state of.
Résultat bool