initial key foreward

This commit is contained in:
chrys 2016-08-13 00:06:54 +02:00
parent 83358947ac
commit 255e54ecea
4 changed files with 4 additions and 1 deletions

View File

@ -18,3 +18,4 @@
#=toggle_output #=toggle_output
#=toggle_autoRead #=toggle_autoRead
#=quit_fenrir #=quit_fenrir
#=foreward_keypress

View File

@ -18,3 +18,4 @@
#=toggle_output #=toggle_output
#=toggle_autoRead #=toggle_autoRead
#=quit_fenrir #=quit_fenrir
#=foreward_keypress

View File

@ -18,3 +18,4 @@
#=toggle_output #=toggle_output
#=toggle_autoRead #=toggle_autoRead
#=quit_fenrir #=quit_fenrir
#=foreward_keypress

View File

@ -21,7 +21,7 @@ class inputManager():
for event in self.iDevices[fd].read(): for event in self.iDevices[fd].read():
if self.isFenrirKey(environment, event): # a if self.isFenrirKey(environment, event): # a
environment['input']['consumeKey'] = not environment['input']['keyForeward'] 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].write_event(event)
self.uDevices[fd].syn() self.uDevices[fd].syn()
else: else: