Skip to content
This repository was archived by the owner on Feb 16, 2025. It is now read-only.

Releases: jcornaz/crankit-input

v0.4.0

05 Dec 20:24

Choose a tag to compare

Breaking changes

  • Remove playdate-sys-v02 from default feature flags

Fixed

  • Compilation error when compiling for device

v0.3.2

19 Nov 08:36

Choose a tag to compare

Documentation

  • Add maintenance status and alteratives to readme
  • Minor improvements in root crate documentation

v0.3.1

18 Nov 14:01

Choose a tag to compare

Documentation

Attempt at fixing documentation on https://docs.rs/crankit-input

v0.3.0

18 Nov 13:34

Choose a tag to compare

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> for playdate_sys::ffi::PDButtons

Documentation

  • General documentation improvements, including fixes and more documentation.

v0.2.0

18 Nov 07:21

Choose a tag to compare

Breaking changes

  • Remove arithmetic operators (+, +=, Sum) implementation for ButtonSet

Added

  • ButtonSet::insert
  • Implement From<[Button; N]> and From<&[Button]> for ButtonSet

Documentation

  • Minor documentation inprovements

v0.1.0

17 Nov 21:59

Choose a tag to compare

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)