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]

Returns a empty event (nothing happend).

Trait Implementations

impl Debug for ButtonEvent
[src]

Formats the value using the given formatter.