Buttons.IsButtonDown Method
Determines whether a specifed button is currently pressed down.
Namespace: Microsoft.SPOT.Input
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)
Syntax
public static bool IsButtonDown (
Buttonbutton
)
Parameters
- button
A value of the Button enumeration that identifies the button whose current state you want to determine.
Return Value
true if the specified button is currently pressed down; otherwise, false.
Version Information
Available in .NET Micro Framework version 2.0, 2.5
See Also
Reference
Buttons Class
Button Enumeration
Buttons Members
Microsoft.SPOT.Input Namespace