MCPcopy Create free account
hub / github.com/canonical/mir / get_pointer_settings

Method get_pointer_settings

tests/mir_test_framework/fake_input_device_impl.cpp:258–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258mir::optional_value<mi::PointerSettings> mtf::FakeInputDeviceImpl::InputDevice::get_pointer_settings() const
259{
260 mir::optional_value<mi::PointerSettings> ret;
261 if (!contains(info.capabilities, mi::DeviceCapability::pointer))
262 return ret;
263
264 ret = settings;
265 return ret;
266}
267
268void mtf::FakeInputDeviceImpl::InputDevice::apply_settings(mi::PointerSettings const& settings)
269{

Callers 1

TEST_FFunction · 0.45

Calls 1

containsFunction · 0.85

Tested by 1

TEST_FFunction · 0.36