Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for read() operation on UInput #46

Merged
merged 1 commit into from
Feb 2, 2016

Conversation

paulo-raca
Copy link
Contributor

This is necessary to support devices with EV_LED and EV_SND (Maybe others?)

This is related to the issue #45 I opened a few days ago.

Please notice that the implementation of uinput.read() is the same as device.read().
I was a bit unconfortable with this until I notices that device.set_led() uses _uinput.write.

I believe that's OK, since both classes are perfectly symetric to each other

This is necessary to support devices with EV_LED and EV_SND
@paulo-raca paulo-raca force-pushed the uinput-read branch 2 times, most recently from faf02bf to d599ca9 Compare February 1, 2016 00:58
gvalkov added a commit that referenced this pull request Feb 2, 2016
Support for read() operation on UInput
@gvalkov gvalkov merged commit 96ffac8 into gvalkov:master Feb 2, 2016
@gvalkov
Copy link
Owner

gvalkov commented Feb 2, 2016

Looks good! Thank you for contributing.

Would you also consider adding a brief usage example to the tutorial tutorial page?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants