diff --git a/play zone/errorOnBrokenDevice.py b/play zone/errorOnBrokenDevice.py index c70bac59..05955dbb 100755 --- a/play zone/errorOnBrokenDevice.py +++ b/play zone/errorOnBrokenDevice.py @@ -2,3 +2,4 @@ # in case that event13 is still the broken device f = open('/dev/input/event13') +print('OK /dev/input/event13') diff --git a/tools/traceEvdev.py b/tools/traceEvdev.py index e6c044f0..3988953c 100755 --- a/tools/traceEvdev.py +++ b/tools/traceEvdev.py @@ -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: