From 81a7896f14e6303be9d8a5d13fe49fc7dddbb8b4 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Wed, 23 May 2018 14:28:34 +0200 Subject: [PATCH] Update evdevDriver.py --- src/fenrirscreenreader/inputDriver/evdevDriver.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fenrirscreenreader/inputDriver/evdevDriver.py b/src/fenrirscreenreader/inputDriver/evdevDriver.py index 00e11805..0775ce64 100644 --- a/src/fenrirscreenreader/inputDriver/evdevDriver.py +++ b/src/fenrirscreenreader/inputDriver/evdevDriver.py @@ -71,7 +71,8 @@ class driver(inputDriver): try: if not '/sys/devices/virtual/input/' in device.sys_path: if device.device_node: - validDevices.append(str(device.device_node)) + if device.sys_name.startswith('event'): + validDevices.append(str(device.device_node)) device = monitor.poll(0.1) except: pass