gvalkov/golang-evdev — pull request #2 by mstap (2013-05-10 22:22:55+00:00)
Title: Add error handling to Read() and ReadOne()

This is necessary so that users of this API can detect errors (e.g. No such device after unplugging a USB keyboard) and properly handle them. Currently, applications will just busy-loop in that situation.