X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=input_mapping.h;h=540fde39e0bb4c3378e9292e0d9ab23d496de508;hb=4a0187ffb4075b4d217b8d9e9c96cac548b199d8;hp=10c3ca2901be0afe870ec9cbefc40ec9c31e0a60;hpb=5cb4274907d32fb8946558988461224196c2be59;p=nageru diff --git a/input_mapping.h b/input_mapping.h index 10c3ca2..540fde3 100644 --- a/input_mapping.h +++ b/input_mapping.h @@ -47,6 +47,10 @@ struct InputMapping { std::vector buses; }; +// This is perhaps not the most user-friendly output, but it's at least better +// than the raw index. +std::string spec_to_string(DeviceSpec device_spec); + bool save_input_mapping_to_file(const std::map &devices, const InputMapping &mapping, const std::string &filename);