Skip to main content
Ctrl+K
Carbonite SDK - Home

Carbonite SDK

  • gitlab
  • twitter
  • youtube
  • instagram
  • www
  • linkedin
  • twitch
Carbonite SDK - Home

Carbonite SDK

  • gitlab
  • twitter
  • youtube
  • instagram
  • www
  • linkedin
  • twitch

Table of Contents

  • Carbonite SDK API
  • input
  • getDeviceTyp...

getDeviceTypeFromString#

Fully qualified name: 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

getDeviceTypeString()

Parameters:

deviceTypeString – The string to convert.

Returns:

A DeviceType, or DeviceType::eUnknown if the string is not known.

previous

getDeviceNameString

next

getDeviceTypeString

On this page
  • getDeviceTypeFromString()
NVIDIA NVIDIA

Copyright © 2018-2025, NVIDIA Corporation.

Last updated on Apr 22, 2025.