From 9e84859326f7879744d7306019c93ebbc9df7e34 Mon Sep 17 00:00:00 2001 From: chrys Date: Thu, 20 Jul 2017 23:19:32 +0200 Subject: [PATCH] remove ugly hack for read history --- src/fenrir/core/inputManager.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/fenrir/core/inputManager.py b/src/fenrir/core/inputManager.py index 33a6bc59..0038fd78 100644 --- a/src/fenrir/core/inputManager.py +++ b/src/fenrir/core/inputManager.py @@ -149,9 +149,6 @@ class inputManager(): if self.env['runtime']['settingsManager'].getSettingAsBool('keyboard', 'grabDevices'): self.env['runtime']['inputDriver'].writeEventBuffer() self.clearEventBuffer() - if len(self.env['input']['currInput']) == 1: - if self.env['input']['currInput'][0] in ['KEY_UP','KEY_DOWN']: - time.sleep(0.08) # hack for tintin history because it needs more time except Exception as e: self.env['runtime']['debug'].writeDebugOut("Error while writeUInput",debug.debugLevel.ERROR) self.env['runtime']['debug'].writeDebugOut(str(e),debug.debugLevel.ERROR)