| 636 | } |
| 637 | |
| 638 | void mi::DefaultInputDeviceHub::RegisteredDevice::pointer_state(MirPointerButtons buttons) |
| 639 | { |
| 640 | if (!seat) |
| 641 | BOOST_THROW_EXCEPTION(std::runtime_error("Device not started and has no seat assigned")); |
| 642 | |
| 643 | seat->set_pointer_state(*handle, buttons); |
| 644 | } |
| 645 | |
| 646 | void mi::DefaultInputDeviceHub::add_observer(std::shared_ptr<InputDeviceObserver> const& observer) |
| 647 | { |
nothing calls this directly
no test coverage detected