Releases
v0.4.0
Compare
Sorry, something went wrong.
No results found
Breaking Changes
Removed FromRawFd implementation of UinputDevice.
Replaced with UinputDevice::from_owned_fd.
Removed Evdev::path (Evdev no longer stores the path it was opened from).
enumerate and enumerate_hotplug now yield (PathBuf, Evdev).
Removed all MAX and CNT constants from event code types.
Shortened lifetime of Effects returned by ForceFeedbackUpload to be tied to &self.
Remove all name methods from event code types.
Codes can instead be formatted via Debug or serialized with serde to obtain the name.
Removed all deprecated functionality.
Improvements
Added raw and from_raw functions to all types that wrap an integer and didn't already have them.
Added Switch::USB_INSERT.
Yield paths alongside devices when enumerating.
Document more clearly that new enumeration constants can be added in minor releases.
Document the evdev device lifecycle.
Add a few missing setters to force-feedback types.
EventReader::valid_slots now returns a real iterator type instead of impl Iterator.
Fixes
Limit number of reports processed by EventReader::update, to prevent getting stuck in there forever.
Made enumerate_hotplug() more robust, avoiding duplicate devices.
Don't wrap ENODEV in a custom error, making it easier to detect unplugged devices.
You can’t perform that action at this time.