MCPcopy Create free account
hub / github.com/LibreVR/Revive / InputDevice

Method InputDevice

ReviveXR/InputManager.cpp:342–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340/* Controller child-classes */
341
342InputManager::InputDevice::InputDevice(XrInstance instance, const char* actionSetName, const char* localizedName)
343{
344 XrActionSetCreateInfo createInfo = XR_TYPE(ACTION_SET_CREATE_INFO);
345 strcpy_s(createInfo.actionSetName, actionSetName);
346 strcpy_s(createInfo.localizedActionSetName, localizedName);
347 XrResult rs = xrCreateActionSet(instance, &createInfo, &m_ActionSet);
348 assert(XR_SUCCEEDED(rs));
349}
350
351InputManager::InputDevice::~InputDevice()
352{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected