From cdf1c00434be5671adb86b33fdb537d1c3f658f1 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Tue, 27 Sep 2016 16:15:26 +0200 Subject: [PATCH] Update inputManager.py --- src/fenrir-package/core/inputManager.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fenrir-package/core/inputManager.py b/src/fenrir-package/core/inputManager.py index 861a3738..325e4fb4 100644 --- a/src/fenrir-package/core/inputManager.py +++ b/src/fenrir-package/core/inputManager.py @@ -70,7 +70,9 @@ class inputManager(): def convertEventName(self, eventName): if not eventName: return '' - + if eventName == '': + return '' + eventName = eventName.upper() if eventName == 'KEY_LEFTCTRL': eventName = 'KEY_CTRL' elif eventName == 'KEY_RIGHTCTRL':