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 <nicholas_rishel>2020-03-27 20:31:09 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-04-08 13:25:40 +0300
commitd571d615a59a40f1d313121cf07fe6e17461e8f0 (patch)
tree624025f0984bb9bbc1de992be97937702ca325b5 /intern/ghost/GHOST_Types.h
parent3d8c57f4daec7c07eca78c0290131d8c02629889 (diff)
Windows: support high resolution tablet pen events for Windows Ink
Rather than using the last state of the tablet, we now query the history of pointer events so strokes can follow the pen even if Blender does not handle events at the same rate. Differential Revision: https://developer.blender.org/D6675
Diffstat (limited to 'intern/ghost/GHOST_Types.h')
-rw-r--r--intern/ghost/GHOST_Types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/GHOST_Types.h b/intern/ghost/GHOST_Types.h
index 8126c2299c6..b8de31df6c6 100644
--- a/intern/ghost/GHOST_Types.h
+++ b/intern/ghost/GHOST_Types.h
@@ -118,7 +118,7 @@ typedef struct GHOST_TabletData {
} GHOST_TabletData;
static const GHOST_TabletData GHOST_TABLET_DATA_NONE = {
- GHOST_kTabletModeNone, /* No tablet connected. */
+ GHOST_kTabletModeNone, /* No cursor in range */
1.0f, /* Pressure */
0.0f, /* Xtilt */
0.0f}; /* Ytilt */