Changeset View
Changeset View
Standalone View
Standalone View
autotests/libinput/mock_libinput.cpp
Show First 20 Lines • Show All 188 Lines • ▼ Show 20 Line(s) | 181 | { | |||
---|---|---|---|---|---|
189 | return modes; | 189 | return modes; | ||
190 | } | 190 | } | ||
191 | 191 | | |||
192 | int libinput_device_config_left_handed_get(struct libinput_device *device) | 192 | int libinput_device_config_left_handed_get(struct libinput_device *device) | ||
193 | { | 193 | { | ||
194 | return device->leftHanded; | 194 | return device->leftHanded; | ||
195 | } | 195 | } | ||
196 | 196 | | |||
197 | int libinput_device_config_left_handed_get_default(struct libinput_device *device) | ||||
198 | { | ||||
199 | return device->leftHandedEnabledByDefault; | ||||
200 | } | ||||
201 | | ||||
197 | double libinput_device_config_accel_get_speed(struct libinput_device *device) | 202 | double libinput_device_config_accel_get_speed(struct libinput_device *device) | ||
198 | { | 203 | { | ||
199 | return device->pointerAcceleration; | 204 | return device->pointerAcceleration; | ||
200 | } | 205 | } | ||
201 | 206 | | |||
202 | uint32_t libinput_device_config_send_events_get_mode(struct libinput_device *device) | 207 | uint32_t libinput_device_config_send_events_get_mode(struct libinput_device *device) | ||
203 | { | 208 | { | ||
204 | if (device->enabled) { | 209 | if (device->enabled) { | ||
▲ Show 20 Lines • Show All 511 Lines • Show Last 20 Lines |