From 0a77f2a54d220cd778cafe16827a05bfbef1f00a Mon Sep 17 00:00:00 2001 From: chrys87 Date: Fri, 18 May 2018 11:16:41 +0200 Subject: [PATCH] Update fenrirManager.py --- src/fenrirscreenreader/core/fenrirManager.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/fenrirscreenreader/core/fenrirManager.py b/src/fenrirscreenreader/core/fenrirManager.py index 4f5a6c21..6948ff15 100644 --- a/src/fenrirscreenreader/core/fenrirManager.py +++ b/src/fenrirscreenreader/core/fenrirManager.py @@ -166,10 +166,7 @@ class fenrirManager(): #print('handleScreenUpdate:',time.time() - startTime) def handlePlugInputDevice(self, event): - if event['Data']: - self.env['runtime']['inputManager'].updateInputDevices(event['Data']) - else: - self.env['runtime']['inputManager'].updateInputDevices() + self.env['runtime']['inputManager'].handlePlugInputDevice(event['Data']) self.environment['runtime']['commandManager'].executeDefaultTrigger('onPlugInputDevice', force=True) def handleHeartBeat(self, event):