diff options
Diffstat (limited to 'src/plugins/generic/touchscreen/qtoucheventsenderqpa.h')
-rw-r--r-- | src/plugins/generic/touchscreen/qtoucheventsenderqpa.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/generic/touchscreen/qtoucheventsenderqpa.h b/src/plugins/generic/touchscreen/qtoucheventsenderqpa.h index f0e923b3a0..387df7d3fa 100644 --- a/src/plugins/generic/touchscreen/qtoucheventsenderqpa.h +++ b/src/plugins/generic/touchscreen/qtoucheventsenderqpa.h @@ -54,7 +54,8 @@ class QTouchEventSenderQPA : public QTouchScreenObserver { public: QTouchEventSenderQPA(const QString &spec = QString()); - void touch_configure(int x_min, int x_max, int y_min, int y_max); + void touch_configure(int x_min, int x_max, int y_min, int y_max, + int pressure_min, int pressure_max, const QString &dev_name); void touch_point(const QList<QWindowSystemInterface::TouchPoint> &points); private: @@ -63,6 +64,9 @@ private: int hw_range_x_max; int hw_range_y_min; int hw_range_y_max; + int hw_pressure_min; + int hw_pressure_max; + QString hw_dev_name; QTouchDevice *m_device; }; |