Accord.Controls.Joystick.Status.IsButtonPressed C# (CSharp) Метод

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

Check if certain button (or combination of buttons) is pressed.
public IsButtonPressed ( Buttons button ) : bool
button Buttons Button to check state of.
Результат bool
            public bool IsButtonPressed(Buttons button)
            {
                return ((((Buttons)status.buttons) & button) != 0);
            }
        }