Trait hookmap_core::common::button::ButtonState [−][src]
pub trait ButtonState { fn is_pressed(&self) -> bool; fn is_released(&self) -> bool { ... } }
Required methods
fn is_pressed(&self) -> bool
fn is_pressed(&self) -> bool
Returns true
if the button is pressed.
Provided methods
fn is_released(&self) -> bool
fn is_released(&self) -> bool
Returns true
if the button is released.