diff options
author | alcomposer <alex.w.mitchell@gmail.com> | 2022-11-14 15:48:36 +1030 |
---|---|---|
committer | alcomposer <alex.w.mitchell@gmail.com> | 2022-11-14 21:55:43 +1030 |
commit | 73db3b67df7a308c636d889d61f0071291122a4e (patch) | |
tree | 0bdb894ea1486b9e6d21ec20acae12a88e6c1300 /core/input | |
parent | b05e1e7d6982c1a0ebbba2e1da60bf05fd2a009a (diff) |
add controller_number & controller_value to allow printing of all MIDI event data
Diffstat (limited to 'core/input')
-rw-r--r-- | core/input/input_event.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/input/input_event.cpp b/core/input/input_event.cpp index 9dc071de9c..0a32b4bf68 100644 --- a/core/input/input_event.cpp +++ b/core/input/input_event.cpp @@ -1562,7 +1562,7 @@ String InputEventMIDI::as_text() const { } String InputEventMIDI::to_string() { - return vformat("InputEventMIDI: channel=%d, message=%d, pitch=%d, velocity=%d, pressure=%d", channel, message, pitch, velocity, pressure); + return vformat("InputEventMIDI: channel=%d, message=%d, pitch=%d, velocity=%d, pressure=%d, controller_number=%d, controller_value=%d", channel, message, pitch, velocity, pressure, controller_number, controller_value); } void InputEventMIDI::_bind_methods() { |