diff --git a/src/fenrir/inputDriver/evdevDriver.py b/src/fenrir/inputDriver/evdevDriver.py index ca23c164..c185b6de 100644 --- a/src/fenrir/inputDriver/evdevDriver.py +++ b/src/fenrir/inputDriver/evdevDriver.py @@ -96,6 +96,8 @@ class driver(): def getInputDevices(self): if not self._initialized: return + if self.iDevices != {}: + self.releaseDevices() deviceList = evdev.list_devices() readableDevices = [] for dev in deviceList: