From 617942f828a611b8826821f1832a4c33a4a3f1f8 Mon Sep 17 00:00:00 2001 From: Chrys Date: Mon, 21 Oct 2019 23:40:47 +0200 Subject: [PATCH] name for fallback --- 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 09ed1cb5..d7c54e47 100644 --- a/src/fenrirscreenreader/inputDriver/evdevDriver.py +++ b/src/fenrirscreenreader/inputDriver/evdevDriver.py @@ -320,13 +320,14 @@ class driver(inputDriver): self.uDevices[fd] = UInput.from_device(self.iDevices[fd], name='fenrir-uinput') except Exception as e: try: + print(e) self.env['runtime']['debug'].writeDebugOut('InputDriver evdev: compat fallback: ' + str(e),debug.debugLevel.WARNING) dev = self.iDevices[fd] cap = dev.capabilities() del cap[0] self.uDevices[fd] = UInput( cap, - dev.name, + 'fenrir-uinput', ) except Exception as e: self.env['runtime']['debug'].writeDebugOut('InputDriver evdev: init Uinput not possible: ' + str(e),debug.debugLevel.ERROR)