From b56c0acae3d81d47470ff6b619856afd7b11b68b Mon Sep 17 00:00:00 2001 From: chrys87 Date: Wed, 7 Mar 2018 13:10:11 +0100 Subject: [PATCH] Update evdevDriver.py --- src/fenrir/inputDriver/evdevDriver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrir/inputDriver/evdevDriver.py b/src/fenrir/inputDriver/evdevDriver.py index 5435f9c4..9c42dfb2 100644 --- a/src/fenrir/inputDriver/evdevDriver.py +++ b/src/fenrir/inputDriver/evdevDriver.py @@ -96,7 +96,7 @@ class driver(inputDriver): foreward = True event = self.iDevices[fd].read_one() continue - if not foreward: + if not foreward or eventFired: if currMapEvent['EventState'] in [0,1,2]: eventQueue.put({"Type":fenrirEventType.KeyboardInput,"Data":currMapEvent}) eventFired = True