diff options
author | Christopher Peerman <chris_82> | 2019-04-03 17:36:28 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-04-03 19:04:03 +0300 |
commit | 2933fd6c7c16d95c8d8e7a5b171edd35632cdb50 (patch) | |
tree | c10c92a5e6df653bba4fc0082584b8fff5fd1e40 /source/blender/draw/intern/draw_cache.c | |
parent | 6a9a2b5133bae2682d20a68d5b3eb925b3f5b6ff (diff) |
Fix T55589, T60967: Windows pen pressure issues at start/end of the stroke.
The new implementation uses WM_POINTERDOWN, WM_POINTERUP and WM_POINTERUPDATE
and the pointer API to process stylus events. This avoids the delays that comes
with the WM_MOUSE and WM_xBUTTON events. The implementation should work on
Windows 8, and Windows 10 with both legacy and new pen interaction.
It also changes how the pressure is reset when the Windows Ink implementation
is enabled. The previous version reset the pressure to full when the pen left
the screen, however for some hardware implementations this allowed a small
window where Blender may process the final move event and read the pressure
as full leaving a dot on the last event.
Differential Revision: https://developer.blender.org/D4314
Diffstat (limited to 'source/blender/draw/intern/draw_cache.c')
0 files changed, 0 insertions, 0 deletions