bool save_input_mapping_to_file(const std::map<DeviceSpec, DeviceInfo> &devices,
const InputMapping &mapping,
const std::string &filename);
bool save_input_mapping_to_file(const std::map<DeviceSpec, DeviceInfo> &devices,
const InputMapping &mapping,
const std::string &filename);