mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-05 16:00:06 +01:00
seperated the relative controls from the display mode so more functions can be loaded into them
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user