Changeset View
Changeset View
Standalone View
Standalone View
touch_input.h
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | |||||
45 | 45 | | |||
46 | class TouchInputRedirection : public InputDeviceHandler | 46 | class TouchInputRedirection : public InputDeviceHandler | ||
47 | { | 47 | { | ||
48 | Q_OBJECT | 48 | Q_OBJECT | ||
49 | public: | 49 | public: | ||
50 | explicit TouchInputRedirection(InputRedirection *parent); | 50 | explicit TouchInputRedirection(InputRedirection *parent); | ||
51 | virtual ~TouchInputRedirection(); | 51 | virtual ~TouchInputRedirection(); | ||
52 | 52 | | |||
53 | bool positionValid() const override; | ||||
53 | bool focusUpdatesBlocked() override; | 54 | bool focusUpdatesBlocked() override; | ||
54 | void init(); | 55 | void init(); | ||
55 | 56 | | |||
56 | void processDown(qint32 id, const QPointF &pos, quint32 time, LibInput::Device *device = nullptr); | 57 | void processDown(qint32 id, const QPointF &pos, quint32 time, LibInput::Device *device = nullptr); | ||
57 | void processUp(qint32 id, quint32 time, LibInput::Device *device = nullptr); | 58 | void processUp(qint32 id, quint32 time, LibInput::Device *device = nullptr); | ||
58 | void processMotion(qint32 id, const QPointF &pos, quint32 time, LibInput::Device *device = nullptr); | 59 | void processMotion(qint32 id, const QPointF &pos, quint32 time, LibInput::Device *device = nullptr); | ||
59 | void cancel(); | 60 | void cancel(); | ||
60 | void frame(); | 61 | void frame(); | ||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |