Skip to content

Commit

Permalink
Fixing 2.2.3 sdk header bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zite committed Mar 21, 2024
1 parent 2075978 commit a755a4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CommonHeaders/OpenVR/openvr_api.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4271,10 +4271,10 @@ public EVRInputError GetOriginTrackedDeviceInfo(ulong origin,ref InputOriginInfo
EVRInputError result = FnTable.GetOriginTrackedDeviceInfo(origin,ref pOriginInfo,unOriginInfoSize);
return result;
}
public EVRInputError GetActionBindingInfo(ulong action,ref InputBindingInfo_t pOriginInfo,uint unBindingInfoSize,uint unBindingInfoCount,ref uint punReturnedBindingInfoCount)
public EVRInputError GetActionBindingInfo(ulong action,InputBindingInfo_t [] pOriginInfo,uint unBindingInfoSize,ref uint punReturnedBindingInfoCount)
{
punReturnedBindingInfoCount = 0;
EVRInputError result = FnTable.GetActionBindingInfo(action,ref pOriginInfo,unBindingInfoSize,unBindingInfoCount,ref punReturnedBindingInfoCount);
EVRInputError result = FnTable.GetActionBindingInfo(action,pOriginInfo,unBindingInfoSize,(uint) pOriginInfo.Length,ref punReturnedBindingInfoCount);
return result;
}
public EVRInputError ShowActionOrigins(ulong actionSetHandle,ulong ulActionHandle)
Expand Down
4 changes: 2 additions & 2 deletions com.valve.openvr/Runtime/openvr_api.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4271,10 +4271,10 @@ public EVRInputError GetOriginTrackedDeviceInfo(ulong origin,ref InputOriginInfo
EVRInputError result = FnTable.GetOriginTrackedDeviceInfo(origin,ref pOriginInfo,unOriginInfoSize);
return result;
}
public EVRInputError GetActionBindingInfo(ulong action,ref InputBindingInfo_t pOriginInfo,uint unBindingInfoSize,uint unBindingInfoCount,ref uint punReturnedBindingInfoCount)
public EVRInputError GetActionBindingInfo(ulong action,InputBindingInfo_t [] pOriginInfo,uint unBindingInfoSize,ref uint punReturnedBindingInfoCount)
{
punReturnedBindingInfoCount = 0;
EVRInputError result = FnTable.GetActionBindingInfo(action,ref pOriginInfo,unBindingInfoSize,unBindingInfoCount,ref punReturnedBindingInfoCount);
EVRInputError result = FnTable.GetActionBindingInfo(action,pOriginInfo,unBindingInfoSize,(uint) pOriginInfo.Length,ref punReturnedBindingInfoCount);
return result;
}
public EVRInputError ShowActionOrigins(ulong actionSetHandle,ulong ulActionHandle)
Expand Down

0 comments on commit a755a4a

Please sign in to comment.