Inputs_FF82000.cs 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. using Microsoft.Xna.Framework.Input;
  2. using OpenVIII.Encoding.Tags;
  3. using System;
  4. using System.Collections.Generic;
  5. namespace OpenVIII
  6. {
  7. [Serializable]
  8. public class Inputs_FF82000 : Inputs
  9. {
  10. #region Constructors
  11. public Inputs_FF82000() => Data = new Dictionary<List<FF8TextTagKey>, List<InputButton>>
  12. {
  13. { InputActions.EscapeLeft , new List<InputButton>{ new InputButton { Key = Keys.Z } } },
  14. { InputActions.EscapeRight, new List<InputButton>{new InputButton { Key = Keys.C }} },
  15. { InputActions.RotateLeft, new List<InputButton>{new InputButton { Key = Keys.Q }} },
  16. { InputActions.RotateRight, new List<InputButton>{new InputButton { Key = Keys.E }} },
  17. { InputActions.Cancel, new List<InputButton>{new InputButton { Key = Keys.W }} },
  18. { InputActions.Menu, new List<InputButton>{new InputButton { Key = Keys.D }} },
  19. { InputActions.Confirm, new List<InputButton>{new InputButton { Key = Keys.X }} },
  20. { InputActions.Cards, new List<InputButton>{new InputButton { Key = Keys.A }} },
  21. { InputActions.Select, new List<InputButton>{new InputButton { Key = Keys.F }} },
  22. { InputActions.Pause, new List<InputButton>{new InputButton { Key = Keys.S }} },
  23. { InputActions.Up, new List<InputButton>{new InputButton { Key = Keys.Up, Trigger = ButtonTrigger.Press }} },
  24. { InputActions.Down, new List<InputButton>{new InputButton { Key = Keys.Down, Trigger = ButtonTrigger.Press } } },
  25. { InputActions.Left, new List<InputButton>{new InputButton { Key = Keys.Left, Trigger = ButtonTrigger.Press } } },
  26. { InputActions.Right, new List<InputButton>{new InputButton { Key = Keys.Right, Trigger = ButtonTrigger.Press } } },
  27. { InputActions.Reset, new List<InputButton>{new InputButton { Key = Keys.R, Combo = new List<InputButton>{ new InputButton { Key = Keys.LeftControl } }} } },
  28. { InputActions.Exit, new List<InputButton>{new InputButton { Key = Keys.Q, Combo = new List<InputButton>{new InputButton { Key = Keys.LeftControl } } } } },
  29. };
  30. #endregion Constructors
  31. #region Properties
  32. public override Dictionary<List<FF8TextTagKey>, List<InputButton>> Data
  33. {
  34. get;
  35. protected set;
  36. }
  37. public override bool DrawGamePadButtons => false;
  38. #endregion Properties
  39. }
  40. }