carb::input::getDeviceTypeFromString
Defined in carb/input/InputUtils.h
- 
inline DeviceType carb::input::getDeviceTypeFromString(const char *deviceTypeString)
- Converts a device-type string to a DeviceType. - See also - Parameters
- deviceTypeString – The string to convert. 
- Returns
- A DeviceType, or DeviceType::eUnknown if the string is not known.