mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-11 19:00:04 +01:00
tidy up display control mappings and other fixes
This commit is contained in:
@@ -43,12 +43,14 @@ class NumpadInput(object):
|
||||
|
||||
if self.data.function_on and len(this_mapping[mode]) > 1:
|
||||
print('the action being called is {}'.format(this_mapping[mode][1]))
|
||||
getattr(self.actions, this_mapping[mode][1])()
|
||||
#getattr(self.actions, this_mapping[mode][1])()
|
||||
self.actions.call_method_name(this_mapping[mode][1])
|
||||
if self.data.settings['sampler']['FUNC_GATED']['value'] == 'off':
|
||||
self.data.function_on = False
|
||||
else:
|
||||
print('the action being called is {}'.format(this_mapping[mode][0]))
|
||||
getattr(self.actions, this_mapping[mode][0])()
|
||||
#getattr(self.actions, this_mapping[mode][0])()
|
||||
self.actions.call_method_name(this_mapping[mode][0])
|
||||
|
||||
self.display.refresh_display()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user