Input Action & Axis Mappings not worked on Vive Cosmos Controller from 4.22 to 4.24
Hi all,
May I know anyone have tried using HTC Vive Cosmos on 4.24? If we start with a fresh VR template on 4.24, everything looks OK on Cosmos Controller. But if you switching from older project from 4.22 to 4.24, the Cosmos Controller will no longer work even though I’ve re-import the new Input Action And Axis Mappings from the VR Template 4.24 also not going to work on Cosmos Controller. I think they have done something on the VR template 4.24 since the input is exactly the same. I’ve also google to get answer and have found the “legacy_bindings_vive_cosmos_controller.json” from HTC Vive website to use on SteamVR input but I’ve no idea how to use this json file because I can’t find to load this json file inside the SteamVR input > Edit Controller Bindings.
Thank You!
About the legacy_bindings_vive_cosmos_controller.json, you may get it from here:
{
"bindings" : {
"/actions/legacy" : {
"haptics" : [
{
"output" : "/actions/legacy/out/left_haptic",
"path" : "/user/hand/left/output/haptic"
},
{
"output" : "/actions/legacy/out/right_haptic",
"path" : "/user/hand/right/output/haptic"
}
],
"poses" : [
{
"output" : "/actions/legacy/in/Left_Pose",
"path" : "/user/hand/left/pose/raw"
},
{
"output" : "/actions/legacy/in/Right_Pose",
"path" : "/user/hand/right/pose/raw"
}
],
"sources" : [
{
"inputs" : {
"click" : {
"output" : "/actions/legacy/in/left_system_press"
}
},
"mode" : "button",
"path" : "/user/hand/left/input/system"
},
{
"inputs" : {
"click" : {
"output" : "/actions/legacy/in/left_applicationmenu_press"
}
},
"mode" : "button",
"path" : "/user/hand/left/input/y"
},
{
"inputs" : {
"click" : {
"output" : "/actions/legacy/in/left_grip_press"
}
},
"mode" : "button",
"path" : "/user/hand/left/input/grip"
},
{
"inputs" : {
"click" : {
"output" : "/actions/legacy/in/left_a_press"
}
},
"mode" : "button",
"path" : "/user/hand/left/input/x"
},
{
"inputs" : {
"click" : {
"output" : "/actions/legacy/in/left_axis3_press"
}
},
"mode" : "button",
"path" : "/user/hand/left/input/bumper"
},
{
"inputs" : {
"click" : {
"output" : "/actions/legacy/in/left_axis0_press"
},
"position" : {
"output" : "/actions/legacy/in/left_axis0_value"
},
"touch" : {
"output" : "/actions/legacy/in/left_axis0_touch"
}
},
"mode" : "joystick",
"path" : "/user/hand/left/input/joystick"
},
{
"inputs" : {
"click" : {
"output" : "/actions/legacy/in/left_axis1_press"
},
"pull" : {
"output" : "/actions/legacy/in/left_axis1_value"
},
"touch" : {
"output" : "/actions/legacy/in/left_axis1_touch"
}
},
"mode" : "trigger",
"path" : "/user/hand/left/input/trigger"
},
{
"inputs" : {
"pull" : {
"output" : "/actions/legacy/in/left_axis4_value_e0"
}
},
"mode" : "trigger",
"path" : "/user/hand/left/input/joystick_cap/raw_value"
},
{
"inputs" : {
"pull" : {
"output" : "/actions/legacy/in/left_axis4_value_e1"
}
},
"mode" : "trigger",
"path" : "/user/hand/left/input/trigger_cap/raw_value"
},
{
"inputs" : {
"click" : {
"output" : "/actions/legacy/in/right_system_press"
}
},
"mode" : "button",
"path" : "/user/hand/right/input/system"
},
{
"inputs" : {
"click" : {
"output" : "/actions/legacy/in/right_applicationmenu_press"
}
},
"mode" : "button",
"path" : "/user/hand/right/input/b"
},
{
"inputs" : {
"click" : {
"output" : "/actions/legacy/in/right_grip_press"
}
},
"mode" : "button",
"path" : "/user/hand/right/input/grip"
},
{
"inputs" : {
"click" : {
"output" : "/actions/legacy/in/right_a_press"
}
},
"mode" : "button",
"path" : "/user/hand/right/input/a"
},
{
"inputs" : {
"click" : {
"output" : "/actions/legacy/in/right_axis3_press"
}
},
"mode" : "button",
"path" : "/user/hand/right/input/bumper"
},
{
"inputs" : {
"click" : {
"output" : "/actions/legacy/in/right_axis0_press"
},
"position" : {
"output" : "/actions/legacy/in/right_axis0_value"
},
"touch" : {
"output" : "/actions/legacy/in/right_axis0_touch"
}
},
"mode" : "joystick",
"path" : "/user/hand/right/input/joystick"
},
{
"inputs" : {
"click" : {
"output" : "/actions/legacy/in/right_axis1_press"
},
"pull" : {
"output" : "/actions/legacy/in/right_axis1_value"
},
"touch" : {
"output" : "/actions/legacy/in/right_axis1_touch"
}
},
"mode" : "trigger",
"path" : "/user/hand/right/input/trigger"
},
{
"inputs" : {
"pull" : {
"output" : "/actions/legacy/in/right_axis4_value_e0"
}
},
"mode" : "trigger",
"path" : "/user/hand/right/input/joystick_cap/raw_value"
},
{
"inputs" : {
"pull" : {
"output" : "/actions/legacy/in/right_axis4_value_e1"
}
},
"mode" : "trigger",
"path" : "/user/hand/right/input/trigger_cap/raw_value"
}
]
}
},
"controller_type" : "vive_cosmos_controller",
"description" : "",
"name" : "Default bindings for legacy applications for Vive cosmos Controllers"
}