C# Класс 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.

Показать файл Открыть проект

Открытые методы

Метод Описание
IsButtonPressed ( Buttons button ) : bool

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

Приватные методы

Метод Описание
Status ( JoystickAPI status, JoystickAPI capabilities ) : System

Описание методов

IsButtonPressed() публичный Метод

Check if certain button (or combination of buttons) is pressed.
public IsButtonPressed ( Buttons button ) : bool
button Buttons Button to check state of.
Результат bool