Changeset View
Changeset View
Standalone View
Standalone View
autotests/libinput/mock_libinput.h
Show First 20 Lines • Show All 122 Lines • ▼ Show 20 Line(s) | |||||
123 | 123 | | |||
124 | struct libinput_event_pointer : libinput_event { | 124 | struct libinput_event_pointer : libinput_event { | ||
125 | libinput_button_state buttonState = LIBINPUT_BUTTON_STATE_RELEASED; | 125 | libinput_button_state buttonState = LIBINPUT_BUTTON_STATE_RELEASED; | ||
126 | quint32 button = 0; | 126 | quint32 button = 0; | ||
127 | bool verticalAxis = false; | 127 | bool verticalAxis = false; | ||
128 | bool horizontalAxis = false; | 128 | bool horizontalAxis = false; | ||
129 | qreal horizontalAxisValue = 0.0; | 129 | qreal horizontalAxisValue = 0.0; | ||
130 | qreal verticalAxisValue = 0.0; | 130 | qreal verticalAxisValue = 0.0; | ||
131 | qreal horizontalDiscreteAxisValue = 0.0; | ||||
132 | qreal verticalDiscreteAxisValue = 0.0; | ||||
133 | libinput_pointer_axis_source axisSource = {}; | ||||
131 | QSizeF delta; | 134 | QSizeF delta; | ||
132 | QPointF absolutePos; | 135 | QPointF absolutePos; | ||
133 | }; | 136 | }; | ||
134 | 137 | | |||
135 | struct libinput_event_touch : libinput_event { | 138 | struct libinput_event_touch : libinput_event { | ||
136 | qint32 slot = -1; | 139 | qint32 slot = -1; | ||
137 | QPointF absolutePos; | 140 | QPointF absolutePos; | ||
138 | }; | 141 | }; | ||
Show All 25 Lines |