This repository was archived by the owner on Feb 16, 2025. It is now read-only.
Releases: jcornaz/crankit-input
Releases · jcornaz/crankit-input
v0.4.0
v0.3.2
Documentation
- Add maintenance status and alteratives to readme
- Minor improvements in root crate documentation
v0.3.1
Documentation
Attempt at fixing documentation on https://docs.rs/crankit-input
v0.3.0
Breaking changes
InputSystem is removed and replaced by two traits ButtonsStateSource and CrankStateSource.
There are implementation of those traits for the types in playdate-sys behind the feature
flag playdate-sys-v02 (enabled by default).
crank_angle and crank_change methods are replaced by crank_angle_rad, crank_angle_deg, crank_change_rad and crank_change_deg,
for a more explicit angle unit.
Added
- Implement
From<ButtonSet>forplaydate_sys::ffi::PDButtons
Documentation
- General documentation improvements, including fixes and more documentation.
v0.2.0
Breaking changes
- Remove arithmetic operators (
+,+=,Sum) implementation forButtonSet
Added
ButtonSet::insert- Implement
From<[Button; N]>andFrom<&[Button]>forButtonSet
Documentation
- Minor documentation inprovements
v0.1.0
Provide the buttons states (pressed, just pressed, released)
Allow to get the D-Pad state as a vector
Provide crank state (angle, change and is-docked)