Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Rishel <rishel.nick@gmail.com>2021-03-05 02:48:48 +0300
committerNicholas Rishel <rishel.nick@gmail.com>2021-06-19 06:57:12 +0300
commit1a484889466650a4d3532437d94b9dfcb6126520 (patch)
tree6a5bdcaaeba6ca9c520b033eee85e6a3f442ef46 /source/blender/windowmanager/intern/wm_window.c
parent845f4cebadc8d15b6407e2e863fce2de6230266b (diff)
Windows high frequency Wintab input.
Use Wintab supplied mouse movement once verified against system input, checked by comparing Win32 and Wintab button down event positions. Dynamically unload Wintab if Tablet API is WinPointer (Windows Ink), load Wintab otherwise. When Tablet API is Automatic, dynamically switch between Wintab and WinPointer based on number of Wintab devices present. Previous behavior was to use Wintab if wintab.dll was present on system. Allow system handling of system cursor movement during WinPointer events by leaving WM_POINTERUPDATE events unhandled.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_window.c')
-rw-r--r--source/blender/windowmanager/intern/wm_window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c
index 6aedfb10dde..ae5a2c81582 100644
--- a/source/blender/windowmanager/intern/wm_window.c
+++ b/source/blender/windowmanager/intern/wm_window.c
@@ -2080,7 +2080,7 @@ void WM_init_tablet_api(void)
if (g_system) {
switch (U.tablet_api) {
case USER_TABLET_NATIVE:
- GHOST_SetTabletAPI(g_system, GHOST_kTabletNative);
+ GHOST_SetTabletAPI(g_system, GHOST_kTabletWinPointer);
break;
case USER_TABLET_WINTAB:
GHOST_SetTabletAPI(g_system, GHOST_kTabletWintab);