restore traceEvent
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user