Ejemplo n.º 1
0
 // -------------------
 public void GetSubBindingDescriptions(
     BindingDescriptionList descList,
     Object undoObject,
     string parentMenuPath)
 {
     this.OnGetSubBindingDescriptions(descList, undoObject, parentMenuPath);
 }
Ejemplo n.º 2
0
        // --------------------
        override protected void OnGetSubBindingDescriptions(BindingDescriptionList descList,          //BindingDescription.BindingType typeMask,
                                                            Object undoObject, string parentMenuPath) //, bool addUnusedBindings, int axisSourceTypeMask)
        {
            descList.Add(this.dirBindingN, "Neutral", parentMenuPath, undoObject);
            descList.Add(this.dirBindingAny, "Any Non-Neutral", parentMenuPath, undoObject);

            descList.Add(this.dirBindingU, "Up", parentMenuPath, undoObject);
            if (descList.addUnusedBindings || this.bindDiagonals)
            {
                descList.Add(this.dirBindingUR, "Up-Right", parentMenuPath, undoObject);
            }

            descList.Add(this.dirBindingR, "Right", parentMenuPath, undoObject);
            if (descList.addUnusedBindings || this.bindDiagonals)
            {
                descList.Add(this.dirBindingDR, "Down-Right", parentMenuPath, undoObject);
            }

            descList.Add(this.dirBindingD, "Down", parentMenuPath, undoObject);
            if (descList.addUnusedBindings || this.bindDiagonals)
            {
                descList.Add(this.dirBindingDL, "Down-Left", parentMenuPath, undoObject);
            }

            descList.Add(this.dirBindingL, "Left", parentMenuPath, undoObject);
            if (descList.addUnusedBindings || this.bindDiagonals)
            {
                descList.Add(this.dirBindingUL, "Up-Left", parentMenuPath, undoObject);
            }
        }
        // --------------------
        override protected void OnGetSubBindingDescriptions(BindingDescriptionList descList,
                                                            Object undoObject, string parentMenuPath)
        {
            descList.Add(this.deltaBinding, InputRig.InputSource.Scroll, "Delta Binding", parentMenuPath, undoObject);

            descList.Add(this.positiveDigitalBinding, "Positive Digital", parentMenuPath, undoObject);
            descList.Add(this.negativeDigitalBinding, "Negative Digital", parentMenuPath, undoObject);
        }
Ejemplo n.º 4
0
        // ---------------
        override protected void OnGetSubBindingDescriptions(
            BindingDescriptionList descList,
            Object undoObject,
            string parentMenuPath)
        {
            descList.Add(this.horzAxisBinding, InputRig.InputSource.Analog, "Horizontal", parentMenuPath, undoObject);
            descList.Add(this.vertAxisBinding, InputRig.InputSource.Analog, "Vertical", parentMenuPath, undoObject);

            descList.Add(this.dirBinding, "Direction", parentMenuPath, undoObject);
        }
        // ---------------
        override protected void OnGetSubBindingDescriptions(BindingDescriptionList descList,          //BindingDescription.BindingType typeMask,
                                                            Object undoObject, string parentMenuPath) //, bool addUnusedBindings, int axisSourceTypeMask)
        {
            descList.Add(this.rawPressBinding, "Press (Raw)", parentMenuPath, undoObject);
            descList.Add(this.normalPressBinding, "Press (Normal)", parentMenuPath, undoObject);
            descList.Add(this.longPressBinding, "Long Press", parentMenuPath, undoObject);
            descList.Add(this.tapBinding, "Tap", parentMenuPath, undoObject);
            descList.Add(this.doubleTapBinding, "Double Tap", parentMenuPath, undoObject);
            descList.Add(this.longTapBinding, "Long Tap", parentMenuPath, undoObject);

            descList.Add(this.normalPressScrollHorzBinding, "Horizontal Scroll (Normal Press)", parentMenuPath, undoObject);
            descList.Add(this.normalPressScrollVertBinding, "Vertical Scroll (Normal Press)", parentMenuPath, undoObject);
            descList.Add(this.longPressScrollHorzBinding, "Horizontal Scroll (Long Press)", parentMenuPath, undoObject);
            descList.Add(this.longPressScrollVertBinding, "Vertical Scroll (Long Press)", parentMenuPath, undoObject);

            descList.Add(this.normalPressSwipeHorzAxisBinding, InputRig.InputSource.TouchDelta, "Horizontal Swipe Delta (Normal Press)", parentMenuPath, undoObject);
            descList.Add(this.normalPressSwipeVertAxisBinding, InputRig.InputSource.TouchDelta, "Vertical Swipe Delta (Normal Press)", parentMenuPath, undoObject);
            descList.Add(this.longPressSwipeHorzAxisBinding, InputRig.InputSource.TouchDelta, "Horizontal Swipe Delta (Long Press)", parentMenuPath, undoObject);
            descList.Add(this.longPressSwipeVertAxisBinding, InputRig.InputSource.TouchDelta, "Vertical Swipe Delta (Long Press)", parentMenuPath, undoObject);

            descList.Add(this.normalPressSwipeDirBinding, "Swipe Direction (Normal Press)", parentMenuPath, undoObject);
            descList.Add(this.longPressSwipeDirBinding, "Swipe Direction (Long Press)", parentMenuPath, undoObject);

            descList.Add(this.normalPressSwipeJoyBinding, "Swipe Joystick (Normal Press)", parentMenuPath, undoObject);
            descList.Add(this.longPressSwipeJoyBinding, "Swipe Joystick (Long Press)", parentMenuPath, undoObject);

            descList.Add(this.rawPressMousePosBinding, "Raw Press Position", parentMenuPath, undoObject);
            descList.Add(this.normalPressMousePosBinding, "Normal Press Position", parentMenuPath, undoObject);
            descList.Add(this.longPressMousePosBinding, "Long Press Position", parentMenuPath, undoObject);
            descList.Add(this.tapMousePosBinding, "Tap Position", parentMenuPath, undoObject);
            descList.Add(this.doubleTapMousePosBinding, "Double Tap Position", parentMenuPath, undoObject);
            descList.Add(this.longTapMousePosBinding, "Long Tap Position", parentMenuPath, undoObject);
            descList.Add(this.normalPressSwipeMousePosBinding, "Swipe Position (Normal Press)", parentMenuPath, undoObject);
            descList.Add(this.longPressSwipeMousePosBinding, "Swipe Position (Long Press)", parentMenuPath, undoObject);

            descList.Add(this.normalPressEmuTouchBinding, "Emulated Touch (Normal Press)", parentMenuPath, undoObject);
            descList.Add(this.longPressEmuTouchBinding, "Emulated Touch (Long Press)", parentMenuPath, undoObject);
        }
Ejemplo n.º 6
0
 // -------------------------
 virtual protected void OnGetSubBindingDescriptions(
     BindingDescriptionList descList,
     Object undoObject,
     string parentMenuPath)
 {
 }