openvr icon indicating copy to clipboard operation
openvr copied to clipboard

Cannot edit pose/haptics in SteamVR

Open dantman opened this issue 5 years ago • 2 comments

I'm trying to create a new set of bindings for a new project. But for some reason I do not appear to be able to edit Pose/Haptics in the SteamVR controller binding UI (beta and non-beta; desktop window and in-HMD).

I have a mandatory pose action on my default action set and a haptics action, but the buttons to edit pose and haptics bindings is not available.

Screenshot (17)

Looking at the No Man Sky bindings the Pose button is also not available, though the haptics button does show up. (Side note, the bindings UI really needs a way to handle bindings with a large number of action sets. Right now there is no scroll bar behaviour for the top bar.) Screenshot (18)

I've actually had similar issues before. Those the UI has a big problem with those buttons being crammed into a space they don't fit and then wrapping and ending up out of view. I noticed this back when the bindings UI was opened in Chrome by the Unity plugin. Though now that the Unity plugin is opening the bindings UI in a dedicated window I can't easily workaround/debug this like I can in Chrome's inspector.

dantman avatar Jan 13 '20 01:01 dantman

I manually created a bindings file with pose and haptics bindings (by copying from a different project). The Edit Action Poses and Add Haptics buttons show up when editing these bindings. So presumably this issue only applies to creating new bindings files.

dantman avatar Jan 20 '20 01:01 dantman

Thank you, I comfirmed the pose button shows when the action.json has "pose" type action like this.

{
   "action_sets" : [
      {
         "name" : "/actions/NewSet",
         "usage" : "single"
      }
   ],
   "actions" : [
      {
         "name" : "/actions/NewSet/in/NewAction",
         "type" : "pose"
      }
   ],
   "default_bindings" : [
      {
         "binding_url" : "application_generated_unity_controllerdeviceindextest_exe_binding_oculus_touch.json",
         "controller_type" : "oculus_touch"
      }
   ],
   "localization" : []
}

kurohuku7 avatar Jul 10 '25 07:07 kurohuku7