| 340 | /* Controller child-classes */ |
| 341 | |
| 342 | InputManager::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 | |
| 351 | InputManager::InputDevice::~InputDevice() |
| 352 | { |
nothing calls this directly
no outgoing calls
no test coverage detected