Blender Git Loki

Git Commits -> Revision 75ab57e

Revision 75ab57e by Bastien Montagne (master)
January 13, 2014, 16:51 (GMT)
Fix T38190: Linux tablet: Issue with XInput/GHOST?

With edits by Campbell, thanks!

Looks like in some cases (driver dependent?), `XDeviceMotionEvent` get generated with only part of expected data
(e.g. only x coordinate, only pressure, etc.), data which did not change since last event being NULL.
We know which data to actually handle with `XDeviceMotionEvent.first_axis` and `XDeviceMotionEvent.axes_count` values.

Reviewed by: campbellbarton

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

Commit Details:

Full Hash: 75ab57efed93204659c626fa8d5aa94837984de4
Parent Commit: 02386bd
Lines Changed: +31, -8

1 Modified Path:

/intern/ghost/intern/GHOST_SystemX11.cpp (+31, -8) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021