19 #ifndef MIR_COMMON_INPUT_DEVICE_STATE_EVENT_H_ 20 #define MIR_COMMON_INPUT_DEVICE_STATE_EVENT_H_ 37 std::chrono::nanoseconds
when()
const;
38 void set_when(std::chrono::nanoseconds
const& when);
56 std::chrono::nanoseconds when_{0};
60 float pointer_x{0.0f};
61 float pointer_y{0.0f};
66 :
id{
id}, pressed_keys{std::move(pressed_keys)}, pointer_buttons{buttons}
69 std::vector<uint32_t> pressed_keys;
72 std::vector<DeviceState> devices;
std::unique_ptr< MirEvent, void(*)(MirEvent *)> EventUPtr
Definition: seat.h:32