diff --git a/src/fenrirscreenreader/inputDriver/evdevDriver.py b/src/fenrirscreenreader/inputDriver/evdevDriver.py index 0481d9f2..6e4b8ea9 100644 --- a/src/fenrirscreenreader/inputDriver/evdevDriver.py +++ b/src/fenrirscreenreader/inputDriver/evdevDriver.py @@ -250,7 +250,7 @@ class driver(inputDriver): if not self._initialized: return for fd in self.iDevices: - self.ungrabDevices(fd) + self.ungrabDevice(fd) def addDevice(self, fd): if not self.env['runtime']['settingsManager'].getSettingAsBool('keyboard', 'grabDevices'): self.uDevices[fd] = None @@ -279,7 +279,7 @@ class driver(inputDriver): self.gDevices[fd] = True except Exception as e: self.env['runtime']['debug'].writeDebugOut('InputDriver evdev: grabing not possible: ' + str(e),debug.debugLevel.ERROR) - def ungrabDevices(self,fd): + def ungrabDevice(self,fd): if not self.env['runtime']['settingsManager'].getSettingAsBool('keyboard', 'grabDevices'): return try: @@ -290,7 +290,7 @@ class driver(inputDriver): def removeDevice(self,fd): self.clearEventBuffer() try: - self.ungrabDevices(fd) + self.ungrabDevice(fd) except: pass try: