From 8ffca527ab484798d9139b8453a754156cecf35f Mon Sep 17 00:00:00 2001 From: chrys Date: Mon, 19 Aug 2019 16:01:38 +0200 Subject: [PATCH] Update evdevDriver.py --- src/fenrirscreenreader/inputDriver/evdevDriver.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fenrirscreenreader/inputDriver/evdevDriver.py b/src/fenrirscreenreader/inputDriver/evdevDriver.py index 76810724..61ddab03 100644 --- a/src/fenrirscreenreader/inputDriver/evdevDriver.py +++ b/src/fenrirscreenreader/inputDriver/evdevDriver.py @@ -185,9 +185,9 @@ class driver(inputDriver): except: continue try: - if currDevice.name.upper() in ['','SPEAKUP','PY-EVDEV-UINPUT']: + if currDevice.name.upper() in ['','SPEAKUP','FENRIR-UINPUT']: continue - if currDevice.phys.upper() in ['','SPEAKUP','PY-EVDEV-UINPUT']: + if currDevice.phys.upper() in ['','SPEAKUP']: continue if 'BRLTTY' in currDevice.name.upper(): continue @@ -301,7 +301,7 @@ class driver(inputDriver): if self.uDevices[fd] != None: return try: - self.uDevices[fd] = UInput.from_device(self.iDevices[fd]) + self.uDevices[fd] = UInput.from_device(self.iDevices[fd], name='fenrir-uinput') except Exception as e: try: self.env['runtime']['debug'].writeDebugOut('InputDriver evdev: compat fallback: ' + str(e),debug.debugLevel.WARNING)