diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2014-06-16 14:09:38 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@digia.com> | 2014-07-11 11:10:51 +0200 |
commit | 5c92d21cce18eef9b57f42323b464b6670124c3a (patch) | |
tree | 9808c94ee25ae61ee9e490b95273a7021b4b284c /src/xml/doc/qtxml.qdocconf | |
parent | 0cbebb21cc4406059eac19f026e67549a195d089 (diff) |
xcb: QTabletEvents and proximity events correctly identify the tool
The tool is enum TabletDevice reported in QTabletEvent::device().
Each type of tool for each type of tablet has an ID which needs to
be mapped to this enum.
The meaning of the AbsWheel valuator depends on the tool type:
an airbrush sends tangentialPressure in the range -1..+1,
whereas an Art Pen (RotationStylus) sends rotation in degrees.
Because the evdev driver sends valuator changes individually, we
have to store the current value in each TabletData::ValuatorClassInfo
to ensure that each QTabletEvent has complete state information.
[ChangeLog][Platform Specific Changes][X11 / XCB] QTabletEvents
and proximity events correctly identify the tool in use; the
meaning of certain valuators depends on the tool; and the valuators'
current values are not lost between events
Task-number: QTBUG-39666
Task-number: QTBUG-39573
Task-number: QTBUG-39570
Change-Id: I6be242ee57e2ad0848060e04f20c0dd08954a734
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'src/xml/doc/qtxml.qdocconf')
0 files changed, 0 insertions, 0 deletions