Update evdevDriver.py
This commit is contained in:
parent
c9cfb5b84c
commit
b56c0acae3
@ -96,7 +96,7 @@ class driver(inputDriver):
|
|||||||
foreward = True
|
foreward = True
|
||||||
event = self.iDevices[fd].read_one()
|
event = self.iDevices[fd].read_one()
|
||||||
continue
|
continue
|
||||||
if not foreward:
|
if not foreward or eventFired:
|
||||||
if currMapEvent['EventState'] in [0,1,2]:
|
if currMapEvent['EventState'] in [0,1,2]:
|
||||||
eventQueue.put({"Type":fenrirEventType.KeyboardInput,"Data":currMapEvent})
|
eventQueue.put({"Type":fenrirEventType.KeyboardInput,"Data":currMapEvent})
|
||||||
eventFired = True
|
eventFired = True
|
||||||
|
Loading…
Reference in New Issue
Block a user