From 0ed4eef266f4eca89afa048ab3e064f110a89883 Mon Sep 17 00:00:00 2001 From: Chrys Date: Tue, 22 Feb 2022 20:37:23 +0100 Subject: [PATCH] dont toggle when fenrir key is pressed --- src/fenrirscreenreader/core/inputManager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fenrirscreenreader/core/inputManager.py b/src/fenrirscreenreader/core/inputManager.py index e658463c..9bcad4a7 100644 --- a/src/fenrirscreenreader/core/inputManager.py +++ b/src/fenrirscreenreader/core/inputManager.py @@ -139,6 +139,8 @@ class inputManager(): self.env['input']['prevInput'] = [] def handleLedStates(self, mEvent): + if self.currKeyIsModifier(): + return try: if mEvent['EventName'] == 'KEY_NUMLOCK': self.env['runtime']['inputDriver'].toggleLedState()