add filter
This commit is contained in:
parent
157a0c6d74
commit
a7862c8366
@ -65,7 +65,7 @@ class driver(inputDriver):
|
||||
def plugInputDeviceWatchdogUdev(self,active , eventQueue):
|
||||
context = pyudev.Context()
|
||||
monitor = pyudev.Monitor.from_netlink(context)
|
||||
#monitor.filter_by(subsystem='input')
|
||||
monitor.filter_by(subsystem='input')
|
||||
monitor.start()
|
||||
while active.value:
|
||||
validDevices = []
|
||||
|
Loading…
Reference in New Issue
Block a user