Struct trellis::core::ButtonEvent
[−]
[src]
pub struct ButtonEvent {
pub buttons_pressed: Vec<LedButton>,
}Describes a button event that occurred. At the moment only button press is implemented.
Since the buttons on the trellis can be pressed simultaneouly a list of buttons is supplied. The order in this list is undefined.
Fields
Methods
impl ButtonEvent[src]
fn empty() -> ButtonEvent
Returns a empty event (nothing happend).