public ButtonMappingEntryControl()
        {
            ButtonProfile = new DsButtonProfile();

            InitializeComponent();

            TargetCommandComboBox.ItemsSource = ValidKeys;
        }
Ejemplo n.º 2
0
        private void OnCreated()
        {
            Ps            = new DsButtonProfile(Ds3Button.Ps, Ds4Button.Ps);
            Circle        = new DsButtonProfile(Ds3Button.Circle, Ds4Button.Circle);
            Cross         = new DsButtonProfile(Ds3Button.Cross, Ds4Button.Cross);
            Square        = new DsButtonProfile(Ds3Button.Square, Ds4Button.Square);
            Triangle      = new DsButtonProfile(Ds3Button.Triangle, Ds4Button.Triangle);
            Select        = new DsButtonProfile(Ds3Button.Select, Ds4Button.Share);
            Start         = new DsButtonProfile(Ds3Button.Start, Ds4Button.Options);
            LeftShoulder  = new DsButtonProfile(Ds3Button.L1, Ds4Button.L1);
            RightShoulder = new DsButtonProfile(Ds3Button.R1, Ds4Button.R1);
            LeftTrigger   = new DsButtonProfile(Ds3Button.L2, Ds4Button.L2);
            RightTrigger  = new DsButtonProfile(Ds3Button.R2, Ds4Button.R2);
            LeftThumb     = new DsButtonProfile(Ds3Button.L3, Ds4Button.L3);
            RightThumb    = new DsButtonProfile(Ds3Button.R3, Ds4Button.R3);

            // D-Pad
            Up    = new DsButtonProfile(Ds3Button.Up, Ds4Button.Up);
            Right = new DsButtonProfile(Ds3Button.Right, Ds4Button.Right);
            Down  = new DsButtonProfile(Ds3Button.Down, Ds4Button.Down);
            Left  = new DsButtonProfile(Ds3Button.Left, Ds4Button.Left);
        }
Ejemplo n.º 3
0
        private void OnCreated()
        {
            Ps = new DsButtonProfile(Ds3Button.Ps, Ds4Button.Ps);
            Circle = new DsButtonProfile(Ds3Button.Circle, Ds4Button.Circle);
            Cross = new DsButtonProfile(Ds3Button.Cross, Ds4Button.Cross);
            Square = new DsButtonProfile(Ds3Button.Square, Ds4Button.Square);
            Triangle = new DsButtonProfile(Ds3Button.Triangle, Ds4Button.Triangle);
            Select = new DsButtonProfile(Ds3Button.Select, Ds4Button.Share);
            Start = new DsButtonProfile(Ds3Button.Start, Ds4Button.Options);
            LeftShoulder = new DsButtonProfile(Ds3Button.L1, Ds4Button.L1);
            RightShoulder = new DsButtonProfile(Ds3Button.R1, Ds4Button.R1);
            LeftTrigger = new DsButtonProfile(Ds3Button.L2, Ds4Button.L2);
            RightTrigger = new DsButtonProfile(Ds3Button.R2, Ds4Button.R2);
            LeftThumb = new DsButtonProfile(Ds3Button.L3, Ds4Button.L3);
            RightThumb = new DsButtonProfile(Ds3Button.R3, Ds4Button.R3);

            // D-Pad
            Up = new DsButtonProfile(Ds3Button.Up, Ds4Button.Up);
            Right = new DsButtonProfile(Ds3Button.Right, Ds4Button.Right);
            Down = new DsButtonProfile(Ds3Button.Down, Ds4Button.Down);
            Left = new DsButtonProfile(Ds3Button.Left, Ds4Button.Left);
        }