diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2018-12-13 22:32:11 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2019-10-30 14:42:21 +0200 |
commit | f67562172598efda6944950fb53c098b30937e9e (patch) | |
tree | 6f53f8f043a398d5efb3c0b4bba4914903f60674 /platform/x11/os_x11.h | |
parent | 924db5fa58ab28912857029ec8dd34fbde771550 (diff) | |
download | redot-engine-f67562172598efda6944950fb53c098b30937e9e.tar.gz |
[macOS, Windows, X11] Add graphic tablet pen pressure and tilt support to InputEventMouseMotion event.
Diffstat (limited to 'platform/x11/os_x11.h')
-rw-r--r-- | platform/x11/os_x11.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/x11/os_x11.h b/platform/x11/os_x11.h index e6c2effacf..a5576f4402 100644 --- a/platform/x11/os_x11.h +++ b/platform/x11/os_x11.h @@ -131,9 +131,12 @@ class OS_X11 : public OS_Unix { int opcode; Vector<int> touch_devices; Map<int, Vector2> absolute_devices; + Map<int, Vector3> pen_devices; XIEventMask all_event_mask; XIEventMask all_master_event_mask; Map<int, Vector2> state; + double pressure; + Vector2 tilt; Vector2 mouse_pos_to_filter; Vector2 relative_motion; Vector2 raw_pos; |