mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-12 03:10:17 +01:00
Make numpad input use actions the same as midi input etc, so that plugins can extend numpad functionality
This commit is contained in:
@@ -61,9 +61,9 @@ class NumpadInput(object):
|
||||
|
||||
print('the action being called is {}'.format(this_mapping[mode][is_function]))
|
||||
if value != -1:
|
||||
getattr(self.actions, this_mapping[mode][is_function])(value)
|
||||
self.actions.call_method_name(this_mapping[mode][is_function])(value)
|
||||
else:
|
||||
getattr(self.actions, this_mapping[mode][is_function])()
|
||||
self.actions.call_method_name(this_mapping[mode][is_function])()
|
||||
|
||||
if is_function and self.data.settings['sampler']['FUNC_GATED']['value'] == 'off':
|
||||
self.data.function_on = False
|
||||
|
||||
Reference in New Issue
Block a user