summaryrefslogtreecommitdiff
path: root/core/input
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2020-05-05 14:16:02 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2020-05-05 14:16:02 +0300
commitd978658f812f7362d33f0e8a3049fa4cccdc6714 (patch)
treebe02bca31508e0e8b8558a707cedf5e94934da64 /core/input
parent1c23a0cc7f879774f56404378db1bf86979e42d1 (diff)
[Windows] Add support for the WinTab API for pen input.
Diffstat (limited to 'core/input')
-rw-r--r--core/input/input_event.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/input/input_event.cpp b/core/input/input_event.cpp
index d18adb1983..4b8c104f39 100644
--- a/core/input/input_event.cpp
+++ b/core/input/input_event.cpp
@@ -708,7 +708,7 @@ String InputEventMouseMotion::as_text() const {
button_mask_string = itos(get_button_mask());
break;
}
- return "InputEventMouseMotion : button_mask=" + button_mask_string + ", position=(" + String(get_position()) + "), relative=(" + String(get_relative()) + "), speed=(" + String(get_speed()) + ")";
+ return "InputEventMouseMotion : button_mask=" + button_mask_string + ", position=(" + String(get_position()) + "), relative=(" + String(get_relative()) + "), speed=(" + String(get_speed()) + "), pressure=(" + rtos(get_pressure()) + "), tilt=(" + String(get_tilt()) + ")";
}
bool InputEventMouseMotion::accumulate(const Ref<InputEvent> &p_event) {