Crate crankit_input

Source
Expand description

An ergonomic input API for the playdate

The traits ButtonsStateSource and CrankStateSource describe the available API.

§Feature flags

  • playdate-sys-v02: provides implementations of the input source traits for the type ffi::playdate_sys and ffi::PlaydateAPI of the crate playdate-sys (version 0.2)

Structs§

ButtonSet
Set of Button
ButtonsState
State of the playdate buttons

Enums§

Button
A button on the playdate

Traits§

ButtonsStateSource
A source of button state
CrankStateSource
A source of the crank state