Changeset View
Changeset View
Standalone View
Standalone View
input_event.h
Show First 20 Lines • Show All 170 Lines • ▼ Show 20 Line(s) | 154 | public: | |||
---|---|---|---|---|---|
171 | } | 171 | } | ||
172 | 172 | | |||
173 | private: | 173 | private: | ||
174 | State m_state; | 174 | State m_state; | ||
175 | quint64 m_timestampMicroseconds; | 175 | quint64 m_timestampMicroseconds; | ||
176 | LibInput::Device *m_device; | 176 | LibInput::Device *m_device; | ||
177 | }; | 177 | }; | ||
178 | 178 | | |||
179 | class TabletEvent : public QTabletEvent | ||||
180 | { | ||||
181 | public: | ||||
182 | TabletEvent(Type t, const QPointF &pos, const QPointF &globalPos, | ||||
183 | int device, int pointerType, qreal pressure, int xTilt, int yTilt, | ||||
zzag: It's off by a single space. | |||||
184 | qreal tangentialPressure, qreal rotation, int z, | ||||
185 | Qt::KeyboardModifiers keyState, qint64 uniqueID, | ||||
186 | Qt::MouseButton button, Qt::MouseButtons buttons, InputRedirection::TabletToolType toolType, | ||||
187 | const QVector<InputRedirection::Capability> &capabilities, | ||||
188 | quint64 serialId, const QString &tabletSysname); | ||||
189 | | ||||
190 | InputRedirection::TabletToolType toolType() const { return m_toolType; } | ||||
191 | QVector<InputRedirection::Capability> capabilities() const { return m_capabilities; } | ||||
192 | quint64 serialId() const { return m_serialId; } | ||||
193 | QString tabletSysName() { return m_tabletSysName; } | ||||
zzag: Make it `const`? | |||||
194 | | ||||
195 | private: | ||||
196 | const InputRedirection::TabletToolType m_toolType; | ||||
197 | const QVector<InputRedirection::Capability> m_capabilities; | ||||
198 | const quint64 m_serialId; | ||||
199 | const QString m_tabletSysName; | ||||
200 | }; | ||||
201 | | ||||
179 | } | 202 | } | ||
180 | 203 | | |||
181 | #endif | 204 | #endif |
It's off by a single space.