File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## Unreleased
4+
5+ ### Breaking Changes
6+
7+ - Removed ` FromRawFd ` implementation of ` UinputDevice ` .
8+ - Replaced with ` UinputDevice::from_owned_fd ` .
9+ - Removed ` Evdev::path ` (` Evdev ` no longer stores the path it was opened from).
10+ - When using ` enumerate ` , call ` .with_path() ` to have the iterator yield the device path.
11+ - Removed all ` MAX ` and ` CNT ` constants from event code types.
12+ - Shortened lifetime of ` Effect ` s returned by ` ForceFeedbackUpload ` to be tied to ` &self ` .
13+ - Remove all ` name ` methods from event code types.
14+ - Codes can instead be formatted via ` Debug ` or serialized with serde to obtain the name.
15+ - Removed all deprecated functionality.
16+
17+ ### Improvements
18+
19+ - Added ` raw ` and ` from_raw ` functions to all types that wrap an integer and didn't already have them.
20+ - Added ` Switch::USB_INSERT ` .
21+ - Added ` .with_path() ` combinator to the ` Enumerate ` and ` EnumerateHotplug ` iterators, providing an
22+ iterator that yields ` (PathBuf, Evdev) ` instead of just the ` Evdev ` .
23+ - Document more clearly that new enumeration constants can be added in minor releases.
24+ - Add a few missing setters to force-feedback types.
25+ - ` EventReader::valid_slots ` now returns a real iterator type instead of ` impl Iterator ` .
26+
27+ ### Fixes
28+
29+ - Limit number of reports processed by ` EventReader::update ` , to prevent getting stuck in there forever.
30+
31+
332## v0.3.5
433
534### Fixes
You can’t perform that action at this time.
0 commit comments