initial key foreward
This commit is contained in:
parent
83358947ac
commit
255e54ecea
@ -18,3 +18,4 @@
|
||||
#=toggle_output
|
||||
#=toggle_autoRead
|
||||
#=quit_fenrir
|
||||
#=foreward_keypress
|
||||
|
@ -18,3 +18,4 @@
|
||||
#=toggle_output
|
||||
#=toggle_autoRead
|
||||
#=quit_fenrir
|
||||
#=foreward_keypress
|
||||
|
@ -18,3 +18,4 @@
|
||||
#=toggle_output
|
||||
#=toggle_autoRead
|
||||
#=quit_fenrir
|
||||
#=foreward_keypress
|
||||
|
@ -21,7 +21,7 @@ class inputManager():
|
||||
for event in self.iDevices[fd].read():
|
||||
if self.isFenrirKey(environment, event): # a
|
||||
environment['input']['consumeKey'] = not environment['input']['keyForeward']
|
||||
if not environment['input']['consumeKey']:
|
||||
if not environment['input']['consumeKey'] or environment['input']['keyForeward']:
|
||||
self.uDevices[fd].write_event(event)
|
||||
self.uDevices[fd].syn()
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user