carb::input::getDeviceNameString
Defined in carb/input/InputUtils.h
-
inline std::string carb::input::getDeviceNameString(DeviceType deviceType, const char *deviceId)
Returns a device name.
- Parameters
deviceType – DeviceType
deviceId – The identifier of the device.
- Returns
A device name composed of getDeviceTypeString() for
deviceType
, with[<deviceId>]
appended. IfdeviceType
is not valid, an empty string is returned.