Exemplo n.º 1
0
 // ----------------------
 override protected void OnGetSubBindingDescriptions(BindingDescriptionList descList,
                                                     Object undoObject, string parentMenuPath)
 {
     descList.Add(this.pressBinding, "Press", parentMenuPath, this);
     descList.Add(this.horzSwipeBinding, InputRig.InputSource.TouchDelta, "Horz. Swipe Delta", parentMenuPath, this);
     descList.Add(this.vertSwipeBinding, InputRig.InputSource.TouchDelta, "Vert. Swipe Delta", parentMenuPath, this);
 }
 // ----------------------
 override protected void OnGetSubBindingDescriptions(BindingDescriptionList descList,
                                                     Object undoObject, string parentMenuPath)
 {
     descList.Add(this.pressBinding, "Press", parentMenuPath, this);
     descList.Add(this.touchPressureBinding, InputRig.InputSource.Analog, "Touch Pressure", parentMenuPath, this);
     descList.Add(this.joyStateBinding, "Joy State", parentMenuPath, this);
 }
Exemplo n.º 3
0
 // ----------------------
 override protected void OnGetSubBindingDescriptions(BindingDescriptionList descList,          //BindingDescription.BindingType typeMask,
                                                     Object undoObject, string parentMenuPath) //, bool addUnusedBindings, int axisSourceTypeMask)
 {
     descList.Add(this.pressBinding, "Press", parentMenuPath, this);
     descList.Add(this.analogTurnBinding, InputRig.InputSource.Analog, "Analog Turn", parentMenuPath, this);
     descList.Add(this.turnLeftBinding, "Turn Left", parentMenuPath, this);
     descList.Add(this.turnRightBinding, "Turn Right", parentMenuPath, this);
 }
Exemplo n.º 4
0
        // ----------------------
        override protected void OnGetSubBindingDescriptions(BindingDescriptionList descList,
                                                            Object undoObject, string parentMenuPath)
        {
            descList.Add(this.pressBinding, "Press", parentMenuPath, this);

            if (this.toggle || descList.addUnusedBindings)
            {
                descList.Add(this.toggleOnlyBinding, "Toggle", parentMenuPath, this);
            }
        }
Exemplo n.º 5
0
 // ----------------------
 override protected void OnGetSubBindingDescriptions(BindingDescriptionList descList,
                                                     Object undoObject, string parentMenuPath)
 {
     descList.Add(this.pressBinding, "Press", parentMenuPath, this);
     descList.Add(this.joyStateBinding, "Joy State", parentMenuPath, this);
 }