Jump to content
 
Sign in to follow this  
vasanthkalai

VIU not working on user defined binding

Recommended Posts

Hi, I am using VIU for the UI selection and my own controller bindings for other interactions in unity 2019.1.14. But due to VIU Controller binding my own binding is not working.Can anyone suggest me, Howto make my binding to work along with the VIU. Thanks in advance.

@chengnay

Share this post


Link to post
Share on other sites

@chengnay, please find the action.json below

{
  "actions": [
    {
      "name": "/actions/FLO/in/SkeletonLeft",
      "type": "skeleton",
      "skeleton": "/skeleton/hand/left"
    },
    {
      "name": "/actions/FLO/in/SkeletonRight",
      "type": "skeleton",
      "skeleton": "/skeleton/hand/right"
    },
    {
      "name": "/actions/FLO/in/Pose",
      "type": "pose"
    },
    {
      "name": "/actions/FLO/in/Teleport",
      "type": "boolean"
    },
    {
      "name": "/actions/FLO/in/Playback",
      "type": "vector2"
    },
    {
      "name": "/actions/FLO/in/FlyDirection",
      "type": "vector2"
    },
    {
      "name": "/actions/FLO/in/FlyActivate",
      "type": "boolean"
    },
    {
      "name": "/actions/FLO/in/PlaybackActivate",
      "type": "boolean"
    },
    {
      "name": "/actions/FLO/in/UIConsole",
      "type": "boolean"
    },
    {
      "name": "/actions/FLO/out/Haptic",
      "type": "vibration"
    },
    {
      "name": "/actions/default/in/InteractUI",
      "type": "boolean"
    },
    {
      "name": "/actions/default/in/Teleport",
      "type": "boolean"
    },
    {
      "name": "/actions/default/in/GrabPinch",
      "type": "boolean"
    },
    {
      "name": "/actions/default/in/GrabGrip",
      "type": "boolean"
    },
    {
      "name": "/actions/default/in/Pose",
      "type": "pose"
    },
    {
      "name": "/actions/default/in/SkeletonLeftHand",
      "type": "skeleton",
      "skeleton": "/skeleton/hand/left"
    },
    {
      "name": "/actions/default/in/SkeletonRightHand",
      "type": "skeleton",
      "skeleton": "/skeleton/hand/right"
    },
    {
      "name": "/actions/default/in/Squeeze",
      "type": "vector1",
      "requirement": "optional"
    },
    {
      "name": "/actions/default/in/HeadsetOnHead",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/default/out/Haptic",
      "type": "vibration"
    },
    {
      "name": "/actions/platformer/in/Move",
      "type": "vector2"
    },
    {
      "name": "/actions/platformer/in/Jump",
      "type": "boolean"
    },
    {
      "name": "/actions/buggy/in/Steering",
      "type": "vector2"
    },
    {
      "name": "/actions/buggy/in/Throttle",
      "type": "vector1"
    },
    {
      "name": "/actions/buggy/in/Brake",
      "type": "boolean"
    },
    {
      "name": "/actions/buggy/in/Reset",
      "type": "boolean"
    },
    {
      "name": "/actions/mixedreality/in/ExternalCamera",
      "type": "pose",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_press_00",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_press_01",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_press_02",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_press_03",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_press_04",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_press_05",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_press_06",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_press_07",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_press_31",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_press_32",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_press_33",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_press_34",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_touch_00",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_touch_01",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_touch_02",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_touch_03",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_touch_04",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_touch_05",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_touch_06",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_touch_07",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_touch_31",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_touch_32",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_touch_33",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_touch_34",
      "type": "boolean",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_axis_0x",
      "type": "vector1",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_axis_0y",
      "type": "vector1",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_axis_1x",
      "type": "vector1",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_axis_1y",
      "type": "vector1",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_axis_2x",
      "type": "vector1",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_axis_2y",
      "type": "vector1",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_axis_3x",
      "type": "vector1",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_axis_3y",
      "type": "vector1",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_axis_4x",
      "type": "vector1",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_axis_4y",
      "type": "vector1",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_axis_0xy",
      "type": "vector2",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_axis_1xy",
      "type": "vector2",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_axis_2xy",
      "type": "vector2",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_axis_3xy",
      "type": "vector2",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/in/viu_axis_4xy",
      "type": "vector2",
      "requirement": "optional"
    },
    {
      "name": "/actions/htc_viu/out/viu_vib_01",
      "type": "vibration",
      "requirement": "optional"
    }
  ],
  "action_sets": [
    {
      "name": "/actions/FLO",
      "usage": "leftright"
    },
    {
      "name": "/actions/default",
      "usage": "single"
    },
    {
      "name": "/actions/platformer",
      "usage": "single"
    },
    {
      "name": "/actions/buggy",
      "usage": "single"
    },
    {
      "name": "/actions/mixedreality",
      "usage": "single"
    },
    {
      "name": "/actions/htc_viu",
      "usage": "leftright"
    }
  ],
  "default_bindings": [
    {
      "controller_type": "holographic_controller",
      "binding_url": "steam_flovr_flovreditor_binding_holographic_controller.json"
    },
    {
      "controller_type": "vive_controller",
      "binding_url": "steam_flo_vr_binding_vive_controller.json"
    }
  ],
  "localization": [
    {
      "language_tag": "en_US",
      "/actions/default/in/GrabGrip": "Grab Grip",
      "/actions/default/in/GrabPinch": "Grab Pinch",
      "/actions/default/in/HeadsetOnHead": "Headset on head (proximity sensor)",
      "/actions/default/in/InteractUI": "Interact With UI",
      "/actions/default/in/Pose": "Pose",
      "/actions/default/in/SkeletonLeftHand": "Skeleton (Left)",
      "/actions/default/in/SkeletonRightHand": "Skeleton (Right)",
      "/actions/default/in/Teleport": "Teleport",
      "/actions/default/out/Haptic": "Haptic",
      "/actions/platformer/in/Jump": "Jump",
      "/actions/htc_viu/in/viu_press_00": "Press00 (System)",
      "/actions/htc_viu/in/viu_press_01": "Press01 (ApplicationMenu)",
      "/actions/htc_viu/in/viu_press_02": "Press02 (Grip)",
      "/actions/htc_viu/in/viu_press_03": "Press03 (DPadLeft)",
      "/actions/htc_viu/in/viu_press_04": "Press04 (DPadUp)",
      "/actions/htc_viu/in/viu_press_05": "Press05 (DPadRight)",
      "/actions/htc_viu/in/viu_press_06": "Press06 (DPadDown)",
      "/actions/htc_viu/in/viu_press_07": "Press07 (A)",
      "/actions/htc_viu/in/viu_press_31": "Press31 (ProximitySensor)",
      "/actions/htc_viu/in/viu_press_32": "Press32 (Touchpad)",
      "/actions/htc_viu/in/viu_press_33": "Press33 (Trigger)",
      "/actions/htc_viu/in/viu_press_34": "Press34 (CapSenseGrip)",
      "/actions/htc_viu/in/viu_touch_00": "Touch00 (System)",
      "/actions/htc_viu/in/viu_touch_01": "Touch01 (ApplicationMenu)",
      "/actions/htc_viu/in/viu_touch_02": "Touch02 (Grip)",
      "/actions/htc_viu/in/viu_touch_03": "Touch03 (DPadLeft)",
      "/actions/htc_viu/in/viu_touch_04": "Touch04 (DPadUp)",
      "/actions/htc_viu/in/viu_touch_05": "Touch05 (DPadRight)",
      "/actions/htc_viu/in/viu_touch_06": "Touch06 (DPadDown)",
      "/actions/htc_viu/in/viu_touch_07": "Touch07 (A)",
      "/actions/htc_viu/in/viu_touch_31": "Touch31 (ProximitySensor)",
      "/actions/htc_viu/in/viu_touch_32": "Touch32 (Touchpad)",
      "/actions/htc_viu/in/viu_touch_33": "Touch33 (Trigger)",
      "/actions/htc_viu/in/viu_touch_34": "Touch34 (CapSenseGrip)",
      "/actions/htc_viu/in/viu_axis_0x": "Axis0 X (TouchpadX)",
      "/actions/htc_viu/in/viu_axis_0y": "Axis0 Y (TouchpadY)",
      "/actions/htc_viu/in/viu_axis_1x": "Axis1 X (Trigger)",
      "/actions/htc_viu/in/viu_axis_1y": "Axis1 Y",
      "/actions/htc_viu/in/viu_axis_2x": "Axis2 X (CapSenseGrip)",
      "/actions/htc_viu/in/viu_axis_2y": "Axis2 Y",
      "/actions/htc_viu/in/viu_axis_3x": "Axis3 X (IndexCurl)",
      "/actions/htc_viu/in/viu_axis_3y": "Axis3 Y (MiddleCurl)",
      "/actions/htc_viu/in/viu_axis_4x": "Axis4 X (RingCurl)",
      "/actions/htc_viu/in/viu_axis_4y": "Axis4 Y (PinkyCurl)",
      "/actions/htc_viu/in/viu_axis_0xy": "Axis0 X&Y (Touchpad)",
      "/actions/htc_viu/in/viu_axis_1xy": "Axis1 X&Y",
      "/actions/htc_viu/in/viu_axis_2xy": "Axis2 X&Y (Thumbstick)",
      "/actions/htc_viu/in/viu_axis_3xy": "Axis3 X&Y",
      "/actions/htc_viu/in/viu_axis_4xy": "Axis4 X&Y",
      "/actions/htc_viu/out/viu_vib_01": "Vibration"
    }
  ]
}

Share this post


Link to post
Share on other sites

Please sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...