diff --git a/src/fenrir/inputDriver/evdevDriver.py b/src/fenrir/inputDriver/evdevDriver.py index 32dfad64..99d25af0 100644 --- a/src/fenrir/inputDriver/evdevDriver.py +++ b/src/fenrir/inputDriver/evdevDriver.py @@ -293,7 +293,12 @@ class driver(): try: del(self.uDevices[fd]) except: - pass + pass + self.iDevicesFD = multiprocessing.Array('i', len(self.iDevices)) + i = 0 + for fd in self.iDevices: + self.iDevicesFD[i] = fd + i +=1 def hasIDevices(self): if not self._initialized: return False