getStringFromActionMappingDesc#

Fully qualified name: carb::input::getStringFromActionMappingDesc

Defined in carb/input/InputUtils.h

inline std::string carb::input::getStringFromActionMappingDesc(
const ActionMappingDesc &actionMappingDesc,
const char *deviceName = nullptr,
)#

Builds a hot-key string from a ActionMappingDesc.

Parameters:
  • actionMappingDesc – The ActionMappingDesc.

  • deviceName – An optional device name. If not provided, the device type from actionMappingDesc is used.

Returns:

A hot-key string.