Trait crankit_input::ButtonsStateSource
source · pub trait ButtonsStateSource {
// Required method
fn buttons_state(&self) -> ButtonsState;
}
Expand description
A source of button state
It is notably implemented for for the type ffi::playdate_sys
and ffi::PlaydateAPI
of the crate playdate-sys
(require the feature flag playdate-sys-v02
)
Required Methods§
Returns the current ButtonsState