seperated the relative controls from the display mode so more functions can be loaded into them

This commit is contained in:
langolierz
2018-02-18 03:59:41 +00:00
parent ac4afdf080
commit e9eb6c1c9e
5 changed files with 21 additions and 14 deletions

View File

@@ -31,8 +31,8 @@ class NumpadInput(object):
def run_action_for_mapped_key(self, key):
this_mapping = self.key_mappings[key]
if self.display.display_mode in this_mapping:
mode = self.display.display_mode
if self.display.control_mode in this_mapping:
mode = self.display.control_mode
elif 'DEFAULT' in this_mapping:
mode = 'DEFAULT'