Changeset View
Changeset View
Standalone View
Standalone View
src/client/fakeinput.h
Show First 20 Lines • Show All 117 Lines • ▼ Show 20 Line(s) | 64 | public: | |||
---|---|---|---|---|---|
118 | void requestPointerMove(const QSizeF &delta); | 118 | void requestPointerMove(const QSizeF &delta); | ||
119 | void requestPointerButtonPress(Qt::MouseButton button); | 119 | void requestPointerButtonPress(Qt::MouseButton button); | ||
120 | void requestPointerButtonPress(quint32 linuxButton); | 120 | void requestPointerButtonPress(quint32 linuxButton); | ||
121 | void requestPointerButtonRelease(Qt::MouseButton button); | 121 | void requestPointerButtonRelease(Qt::MouseButton button); | ||
122 | void requestPointerButtonRelease(quint32 linuxButton); | 122 | void requestPointerButtonRelease(quint32 linuxButton); | ||
123 | void requestPointerButtonClick(Qt::MouseButton button); | 123 | void requestPointerButtonClick(Qt::MouseButton button); | ||
124 | void requestPointerButtonClick(quint32 linuxButton); | 124 | void requestPointerButtonClick(quint32 linuxButton); | ||
125 | void requestPointerAxis(Qt::Orientation axis, qreal delta); | 125 | void requestPointerAxis(Qt::Orientation axis, qreal delta); | ||
126 | void requestTouchDown(quint32 id, const QPointF &pos); | ||||
127 | void requestTouchMotion(quint32 id, const QSizeF &delta); | ||||
128 | void requestTouchUp(quint32 id); | ||||
129 | void requestTouchCancel(); | ||||
130 | void requestTouchFrame(); | ||||
126 | 131 | | |||
127 | operator org_kde_kwin_fake_input*(); | 132 | operator org_kde_kwin_fake_input*(); | ||
128 | operator org_kde_kwin_fake_input*() const; | 133 | operator org_kde_kwin_fake_input*() const; | ||
graesslin: why a delta? In KWin all touchMotion related code takes the new position. | |||||
129 | 134 | | |||
130 | Q_SIGNALS: | 135 | Q_SIGNALS: | ||
131 | /** | 136 | /** | ||
132 | * The corresponding global for this interface on the Registry got removed. | 137 | * The corresponding global for this interface on the Registry got removed. | ||
133 | * | 138 | * | ||
134 | * This signal gets only emitted if the Compositor got created by | 139 | * This signal gets only emitted if the Compositor got created by | ||
135 | * Registry::createFakeInput | 140 | * Registry::createFakeInput | ||
136 | * | 141 | * | ||
Show All 13 Lines |
why a delta? In KWin all touchMotion related code takes the new position.