Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/input/kis_input_manager.cpp
Context not available. | |||||
25 | #include <klocalizedstring.h> | 25 | #include <klocalizedstring.h> | ||
---|---|---|---|---|---|
26 | #include <QApplication> | 26 | #include <QApplication> | ||
27 | #include <QTouchEvent> | 27 | #include <QTouchEvent> | ||
28 | #include <QTouchEvent> | 28 | #include <QElapsedTimer> | ||
29 | 29 | | |||
30 | #include <KoToolManager.h> | 30 | #include <KoToolManager.h> | ||
31 | 31 | | |||
Context not available. | |||||
466 | QTabletEvent *tabletEvent = static_cast<QTabletEvent*>(event); | 466 | QTabletEvent *tabletEvent = static_cast<QTabletEvent*>(event); | ||
467 | retval = compressMoveEventCommon(tabletEvent); | 467 | retval = compressMoveEventCommon(tabletEvent); | ||
468 | 468 | | |||
469 | if (d->tabletLatencyTracker) { | ||||
470 | d->tabletLatencyTracker->push(tabletEvent->timestamp()); | ||||
471 | } | ||||
472 | | ||||
469 | /** | 473 | /** | ||
470 | * The flow of tablet events means the tablet is in the | 474 | * The flow of tablet events means the tablet is in the | ||
471 | * proximity area, so activate it even when the | 475 | * proximity area, so activate it even when the | ||
Context not available. |