Update evdevDriver.py
This commit is contained in:
parent
8538dc52a5
commit
637a9c3c51
@ -62,7 +62,7 @@ class driver(inputDriver):
|
|||||||
def plugInputDeviceWatchdogUdev(self,active , eventQueue):
|
def plugInputDeviceWatchdogUdev(self,active , eventQueue):
|
||||||
context = pyudev.Context()
|
context = pyudev.Context()
|
||||||
monitor = pyudev.Monitor.from_netlink(context)
|
monitor = pyudev.Monitor.from_netlink(context)
|
||||||
monitor.filter_by(subsystem='input')
|
#monitor.filter_by(subsystem='input')
|
||||||
monitor.start()
|
monitor.start()
|
||||||
while active.value:
|
while active.value:
|
||||||
validDevices = []
|
validDevices = []
|
||||||
|
Loading…
Reference in New Issue
Block a user