19 #ifndef MIR_INPUT_INPUT_DEVICES_H_ 20 #define MIR_INPUT_INPUT_DEVICES_H_ 37 : id(id), caps(caps), name(name), unique_id(unique_id)
50 void update_devices(std::vector<DeviceData> && data);
51 std::vector<DeviceData> copy_devices();
52 void set_change_callback(std::function<
void()>
const& callback);
54 std::mutex devices_access;
55 std::vector<DeviceData> devices;
56 std::function<void()> callback;
All things Mir.
Definition: atomic_callback.h:25