Skip to content

Latest commit

 

History

History
90 lines (46 loc) · 2.2 KB

CHANGELOG.md

File metadata and controls

90 lines (46 loc) · 2.2 KB

Changelog

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

Breaking changes

  • Remove playdate-sys-v02 from default feature flags

Fixed

  • Compilation error when compiling for device

0.3.2 - 2023-11-19

Documentation

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

0.3.1 - 2023-11-18

Documentation

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

0.3.0 - 2023-11-18

Breaking changes

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.

Added

  • Implement From<ButtonSet> for playdate_sys::ffi::PDButtons

Documentation

  • General documentation improvements, including fixes and more documentation.

0.2.0 - 2023-11-18

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

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)