Blender Git Commit Log

Git Commits -> Revision 565ea3d

Revision 565ea3d by Nicholas Rishel (master)
December 25, 2020, 00:41 (GMT)
Simplification of Wintab event handling.

Previously Wintab packets were added to a local queue to be processed
during Win32 mouse events, in order to correlate Wintab to Win32
mouse buttons. Wintab packets before Win32 mouse down events were
expired on a timer.

This commit drives mouse events during Wintab events when a device is
in range. When a Wintab button is found it is dispatched if an
equivalent event can be popped from the Win32 event queue. If a Win32
mouse button event is not associated with a Wintab event, it falls
through to WM_BUTTON handling. All Wintab packets are handled as they
are received.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D9908

Commit Details:

Full Hash: 565ea3df6077a1af5995b9b4defec9b03f3c6c29
Parent Commit: af316d2
Lines Changed: +298, -454

4 Modified Paths:

/intern/ghost/intern/GHOST_SystemWin32.cpp (+130, -162) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.h (+8, -8) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.cpp (+124, -221) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.h (+36, -63) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021