restore traceEvent
This commit is contained in:
parent
4c0c792135
commit
1456a2f2f3
@ -2,3 +2,4 @@
|
|||||||
|
|
||||||
# in case that event13 is still the broken device
|
# in case that event13 is still the broken device
|
||||||
f = open('/dev/input/event13')
|
f = open('/dev/input/event13')
|
||||||
|
print('OK /dev/input/event13')
|
||||||
|
@ -4,8 +4,7 @@ from evdev import InputDevice
|
|||||||
from select import select
|
from select import select
|
||||||
import time
|
import time
|
||||||
|
|
||||||
#devices = map(evdev.InputDevice, (evdev.list_devices()))
|
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 = {dev.fd: dev for dev in devices}
|
devices = {dev.fd: dev for dev in devices}
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
|
Loading…
Reference in New Issue
Block a user