restore traceEvent

This commit is contained in:
chrys 2016-10-19 19:52:36 +02:00
parent 4c0c792135
commit 1456a2f2f3
2 changed files with 2 additions and 2 deletions

View File

@ -2,3 +2,4 @@
# in case that event13 is still the broken device
f = open('/dev/input/event13')
print('OK /dev/input/event13')

View File

@ -4,8 +4,7 @@ from evdev import InputDevice
from select import select
import time
#devices = map(evdev.InputDevice, (evdev.list_devices()))
devices = map(evdev.InputDevice, (['/dev/input/event0','/dev/input/event1','/dev/input/event10','/dev/input/event11','/dev/input/event12','/dev/input/event14','/dev/input/event15','/dev/input/event2','/dev/input/event3','/dev/input/event4','/dev/input/event5','/dev/input/event7','/dev/input/event8','/dev/input/event9']))
devices = map(evdev.InputDevice, (evdev.list_devices()))
devices = {dev.fd: dev for dev in devices}
while True: