tornavis/intern
Andrii Symkin e58b18888c GHOST: Add support for precision touchpad gestures on Windows
This patch adds support for precision touchpad gestures on Windows 8.1
and newer using Direct Manipulation API. Gestures work exactly like on
macOS, with full support for pan/pinch and inertia. This works by
creating a viewport with a fake scrollable which is reset after every
gesture and converts any changes to the content's transform into GHOST
trackpad events (as explained [here](https://bugzilla.mozilla.org/show_bug.cgi?id=890878)).
The code is based on the implementation from the [Chromium project](https://chromium.googlesource.com/chromium/src/+/refs/heads/master/content/browser/renderer_host/direct_manipulation_helper_win.cc).

Tested on Windows 10.

Fixes {T70754}, {T69264}.

Demo:{F8520272}

Reviewed By: nicholas_rishel

Differential Revision: https://developer.blender.org/D7660
2022-05-06 00:40:27 -07:00
..
atomic Cleanup: correct unbalanced doxy sections 2022-03-15 17:29:54 +11:00
audaspace File headers: manually convert files to use SPDX headers 2022-02-11 15:15:49 +11:00
clog File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
cycles Merge branch 'blender-v3.2-release' 2022-05-06 13:43:54 +10:00
dualcon Cleanup: Compilation warnings 2022-03-18 12:07:08 +01:00
eigen File headers: manually convert files to use SPDX headers 2022-02-11 15:15:49 +11:00
ffmpeg Merge branch 'blender-v3.1-release' 2022-02-22 17:34:07 +01:00
ghost GHOST: Add support for precision touchpad gestures on Windows 2022-05-06 00:40:27 -07:00
glew-mx File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
guardedalloc Cleanup: Deprecated field access in outliner_duplicate 2022-03-16 12:38:23 +01:00
iksolver Cleanup: use M_PI_2 and M_PI_4 where possible 2022-03-11 18:27:58 +01:00
itasc Cleanup: remove argument to doxygen \file 2022-03-25 12:10:30 +11:00
libc_compat File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
libmv File headers: add missing copyright, add MIT to SPDX licenses 2022-02-11 14:56:03 +11:00
locale File headers: add missing copyright, add MIT to SPDX licenses 2022-02-11 14:56:03 +11:00
mantaflow Cleanup: Compilation warnings 2022-03-18 12:07:08 +01:00
memutil File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
mikktspace Mikktspace: Reduce number of data queries to caller 2022-04-23 15:09:41 +02:00
opencolorio Fix OpenColorIO error with configs using <USE_DISPLAY_NAME> 2022-04-11 20:10:42 +02:00
opensubdiv Revert "Fix GPU subdivision: Crash on adding subdivision surface modifier" 2022-04-20 21:32:03 +02:00
openvdb File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
quadriflow File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
rigidbody Cleanup: Further use of const for object bounding boxes 2022-04-01 18:30:09 -05:00
sky File headers: manually convert files to use SPDX headers 2022-02-11 15:15:49 +11:00
utfconv Cleanup: use C++ comments for disabled code 2022-04-13 13:47:04 +10:00
CMakeLists.txt File headers: SPDX License migration 2022-02-11 09:14:36 +11:00