Commit b9e042fa authored by Peter Hutterer's avatar Peter Hutterer

Merge branch 'fix/missing-import-doc' into 'master'

Add missing import to example.

See merge request !5
parents 3c222fa4 27b7aadc
......@@ -85,6 +85,7 @@ page.
To read events from an existing device::
import libevdev
import sys
fd = open('/dev/input/event0', 'rb')
d = libevdev.Device(fd)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment