Ejemplo n.º 1
0
 protected override List <SettingsData> GetSettingsData()
 {
     return(new List <SettingsData>
     {
         SettingsData.Create("Reset to Defaults", ConfigTypes.Button, ""),
         SettingsData.CreateCollection(
             new string[] { "Down", "Left", "Right", "Up",
                            "A\nSelect/Confirm", "B\nCancel", "Y\nCursor Speed", "X\nEnemy Range",
                            "L\nNext Unit", "R\nStatus", "Start\nSkip/Map", "Select\nMenu" },
             ConfigTypes.Keyboard,
             new Keys[] { Keys.NumPad2, Keys.NumPad4, Keys.NumPad6, Keys.NumPad8,
                          Keys.X, Keys.Z, Keys.D, Keys.C,
                          Keys.A, Keys.S, Keys.Enter, Keys.RightShift }),
     });
 }
Ejemplo n.º 2
0
        protected override List <SettingsData> GetSettingsData()
        {
            return(new List <SettingsData>
            {
                SettingsData.Create("Reset to Defaults", ConfigTypes.Button, ""),
                SettingsData.CreateCollection(
                    new string[] { "Down", "Left", "Right", "Up",
                                   "A\nSelect/Confirm", "B\nCancel", "Y\nCursor Speed", "X\nEnemy Range",
                                   "L\nNext Unit", "R\nStatus", "Start\nSkip/Map", "Select\nMenu" },
                    ConfigTypes.Gamepad,
                    new Buttons[] { Buttons.DPadDown, Buttons.DPadLeft, Buttons.DPadRight, Buttons.DPadUp,
#if __ANDROID__
                                    Buttons.Back,
#else
                                    Buttons.A,
#endif
                                    Buttons.B, Buttons.X, Buttons.Y,
                                    Buttons.LeftShoulder, Buttons.RightShoulder, Buttons.Start,
#if __ANDROID__
                                    Buttons.A
#else
                                    Buttons.Back
#endif
                    }),