From a7862c8366abb63fdacf29006c1a94a292b17c68 Mon Sep 17 00:00:00 2001 From: chrys Date: Fri, 25 May 2018 14:08:41 +0200 Subject: [PATCH] add filter --- src/fenrirscreenreader/inputDriver/evdevDriver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrirscreenreader/inputDriver/evdevDriver.py b/src/fenrirscreenreader/inputDriver/evdevDriver.py index 0889829d..8aed7b51 100644 --- a/src/fenrirscreenreader/inputDriver/evdevDriver.py +++ b/src/fenrirscreenreader/inputDriver/evdevDriver.py @@ -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 = []