gvalkov / python-evdev

Python bindings for the Linux input subsystem
https://python-evdev.rtfd.org/
BSD 3-Clause "New" or "Revised" License
337 stars 112 forks source link

Add missing return codes to os.strerror() calls and fix force feedback example in docs. #137

Closed tlalexander closed 4 years ago

tlalexander commented 4 years ago

Fixes code bug discussed in #135

Minimal change, but do let me know if you'd like it done differently! I briefly tested this on my machine and it works as expected.

tlalexander commented 4 years ago

I had intended for the typo fix to be a separate PR, but apparently I don't know how to do that. Just as well, it is a tiny change.

gvalkov commented 4 years ago

Thanks. Those are good fixes. Will try to cut a release with your fix this weekend :+1: