|
JoystickStatusIsButtonPressed Method
|
Check if certain button (or combination of buttons) is pressed.
Namespace:
Accord.Controls
Assembly:
Accord.Controls (in Accord.Controls.dll) Version: 3.8.0
Syntax public bool IsButtonPressed(
JoystickButtons button
)
Public Function IsButtonPressed (
button As JoystickButtons
) As Boolean
Request Example
View SourceParameters
- button
- Type: Accord.ControlsJoystickButtons
Button to check state of.
Return Value
Type:
BooleanReturns
if the specified button is pressed or
otherwise.
See Also