Dear developer, we are really sorry for the inconvenience. We have missed to change version in .json but did not affect the use of the function. It will be fixed when the next version releases.
For the trigger touch function, you can test the code as follows which works on our devices.
private bool isTriggerTouchDone;
private bool isThumbRestTouchDone;
void Update()
{
if (InputDevices.GetDeviceAtXRNode(XRNode.RightHand).TryGetFeatureValue(PXR_Usages.triggerTouch, out isTriggerTouchDone) && isTriggerTouchDone)
{
transform.localScale += new Vector3(0.01f, 0.01f, 0.01f);
Debug.Log("isTriggerTouchTest: true");
}
if (InputDevices.GetDeviceAtXRNode(XRNode.RightHand).TryGetFeatureValue(PXR_Usages.thumbRestTouch, out isThumbRestTouchDone) && isThumbRestTouchDone)
{
transform.localScale -= new Vector3(0.01f, 0.01f, 0.01f);
Debug.Log("isthumbRestTouch: true");
}
}