From 0f83708ea05c76b600ccb027fbb05694e0a4cb06 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Mon, 14 May 2018 14:57:38 +0200 Subject: [PATCH] Update inputDriver.py --- src/fenrirscreenreader/core/inputDriver.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/fenrirscreenreader/core/inputDriver.py b/src/fenrirscreenreader/core/inputDriver.py index ab91483e..8dac83bb 100644 --- a/src/fenrirscreenreader/core/inputDriver.py +++ b/src/fenrirscreenreader/core/inputDriver.py @@ -41,13 +41,16 @@ class inputDriver(): def toggleLedState(self, led = 0): if not self._initialized: return None - def grabDevices(self): + def grabAllDevices(self): if not self._initialized: return None - def releaseDevices(self): + def ungrabAllDevices(self): if not self._initialized: return None + def removeAllDevices(self): + if not self._initialized: + return None def __del__(self): if not self._initialized: return None - self.releaseDevices() + self.removeAllDevices()