Appearance
bool ButtonDevice.IsPressed()
Gets whether the button is pressed down
bool - True if the button is pressed down
bool
using Device; ButtonDevice device = Device.FindButton("MyButton"); bool pressed = device.IsPressed(); // True if the button is pressed down!