Blender Git Loki

Git Commits -> Revision 2933fd6

Revision 2933fd6 by Christopher Peerman (master)
April 3, 2019, 16:04 (GMT)
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

Commit Details:

Full Hash: 2933fd6c7c16d95c8d8e7a5b171edd35632cdb50
Parent Commit: 6a9a2b5
Committed By: Brecht Van Lommel
Lines Changed: +218, -38

4 Modified Paths:

/intern/ghost/intern/GHOST_SystemWin32.cpp (+66, -2) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.h (+11, -0) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.cpp (+74, -36) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.h (+67, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021