| 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); |