Update inputManager.py
This commit is contained in:
parent
9f786ba81f
commit
da97b14b12
@ -25,7 +25,7 @@ class inputManager():
|
|||||||
for fd in r:
|
for fd in r:
|
||||||
for event in self.iDevices[fd].read():
|
for event in self.iDevices[fd].read():
|
||||||
if self.isFenrirKey(environment, event):
|
if self.isFenrirKey(environment, event):
|
||||||
environment['input']['consumeKey'] = not environment['input']['keyForeward'] and not environment['generalInformation ']['suspend']
|
environment['input']['consumeKey'] = not environment['input']['keyForeward'] and not environment['generalInformation']['suspend']
|
||||||
if self.isConsumeKeypress(environment):
|
if self.isConsumeKeypress(environment):
|
||||||
self.writeUInput(self.uDevices[fd], event)
|
self.writeUInput(self.uDevices[fd], event)
|
||||||
keyString = ''
|
keyString = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user