add controller_number & controller_value to allow printing of all MIDI event data
This commit is contained in:
parent
b05e1e7d69
commit
73db3b67df
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue