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. If- deviceTypeis not valid, an empty string is returned.