MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / GetInputSourceHandle

Method GetInputSourceHandle

headers/openvr_api.cs:4360–4367  ·  view source on GitHub ↗
(string pchInputSourcePath,ref ulong pHandle)

Source from the content-addressed store, hash-verified

4358 return result;
4359 }
4360 public EVRInputError GetInputSourceHandle(string pchInputSourcePath,ref ulong pHandle)
4361 {
4362 IntPtr pchInputSourcePathUtf8 = Utils.ToUtf8(pchInputSourcePath);
4363 pHandle = 0;
4364 EVRInputError result = FnTable.GetInputSourceHandle(pchInputSourcePathUtf8,ref pHandle);
4365 Marshal.FreeHGlobal(pchInputSourcePathUtf8);
4366 return result;
4367 }
4368 public EVRInputError UpdateActionState(VRActiveActionSet_t [] pSets,uint unSizeOfVRSelectedActionSet_t)
4369 {
4370 EVRInputError result = FnTable.UpdateActionState(pSets,unSizeOfVRSelectedActionSet_t,(uint) pSets.Length);

Callers 2

BInitMethod · 0.80
BInitMethod · 0.80

Calls 1

ToUtf8Method · 0.80

Tested by

no test coverage detected