All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
0.4.0 - 2023-12-05
- Remove
playdate-sys-v02
from default feature flags
- Compilation error when compiling for device
0.3.2 - 2023-11-19
- Add maintenance status and alteratives to readme
- Minor improvements in root crate documentation
0.3.1 - 2023-11-18
Attempt at fixing documentation on https://docs.rs/crankit-input
0.3.0 - 2023-11-18
InputSystem
is removed and is replace 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 more explicit angle unit.
- Implement
From<ButtonSet>
forplaydate_sys::ffi::PDButtons
- General documentation improvements, including fixes and more documentation.
0.2.0 - 2023-11-18
- Remove arithmetic operators (
+
,+=
,Sum
) implementation forButtonSet
ButtonSet::insert
- Implement
From<[Button; N]>
andFrom<&[Button]>
forButtonSet
- Minor documentation inprovements
0.1.0 - 2023-11-17
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)