-
-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Controller mapping JSONs (ie openxr.json, openvr.json) currently can't express numeric expressions, only boolean ones. This actually caused a few problems in the past I had to fix by removing the bad checks*, and it currently makes expressions like this impossible:
if (
!OpenXR.LeftHasPrimary &&
OpenXR.LeftTrackpadX > -0.4 &&
OpenXR.LeftTrackpadX < 0.4
) {
Standard.LeftPrimaryThumb = OpenXR.LeftTrackpadPress
}*Where a controller axis was false <= 0 and true > 0, which made weird direction-specific control bugs, and was probably intended to have an abs in there somewhere but never got one
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request