Skip to content

Commit

Permalink
Fix SpellSwitch/Jump binding names in GameConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Helco committed Mar 21, 2024
1 parent 9d6da0b commit be4a7a4
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions zzio/GameConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ public enum BindingId
LookHor = 4,
LookVer = 5,
Shoot = 6,
Jump = 7,
MouseUnk = 8,
SpellSwitch = 7,
Jump = 8,
NumPad0 = 9,
Escape = 10,
F11 = 11,
Expand Down Expand Up @@ -102,8 +102,8 @@ public enum MouseCode
VerticalAxis = 4,
WheelAxis = 8,
LeftButton = 12,
MiddleButton = 13,
RightButton = 14
RightButton = 13,
MiddleButton = 14
}

public enum ParticleQuality
Expand Down Expand Up @@ -278,35 +278,35 @@ public void Write(Stream stream)

private static readonly Binding[] DefaultBindings =
[
/* Forward */ new(DirectInputKey.Up),
/* Back */ new(DirectInputKey.Down),
/* Right */ new(DirectInputKey.Right),
/* Left */ new(DirectInputKey.Left),
/* LookHor */ new(MouseCode.HorizontalAxis),
/* LookVer */ new(MouseCode.VerticalAxis),
/* Shoot */ new(MouseCode.LeftButton),
/* Jump */ new(MouseCode.RightButton),
/* MouseUnk */ new(MouseCode.MiddleButton),
/* NumPad0 */ new(DirectInputKey.Numpad0),
/* Escape */ new(DirectInputKey.Escape),
/* F11 */ new(DirectInputKey.F11),
/* P */ new(DirectInputKey.P),
/* WizForm1 */ new(DirectInputKey.D1),
/* WizForm2 */ new(DirectInputKey.D2),
/* WizForm3 */ new(DirectInputKey.D3),
/* WizForm4 */ new(DirectInputKey.D4),
/* WizForm5 */ new(DirectInputKey.D5),
/* Next */ new(DirectInputKey.Next),
/* Prior */ new(DirectInputKey.Prior),
/* MouseWheel */ new(MouseCode.WheelAxis),
/* Return */ new(DirectInputKey.Return),
/* F1 */ new(DirectInputKey.F1),
/* F2 */ new(DirectInputKey.F2),
/* F3 */ new(DirectInputKey.F3),
/* F4 */ new(DirectInputKey.F4),
/* T */ new(DirectInputKey.T),
/* Tab */ new(DirectInputKey.Tab),
/* F5 */ new(DirectInputKey.F5),
/* Forward */ new(DirectInputKey.Up),
/* Back */ new(DirectInputKey.Down),
/* Right */ new(DirectInputKey.Right),
/* Left */ new(DirectInputKey.Left),
/* LookHor */ new(MouseCode.HorizontalAxis),
/* LookVer */ new(MouseCode.VerticalAxis),
/* Shoot */ new(MouseCode.LeftButton),
/* SpellSwitch */ new(MouseCode.MiddleButton),
/* Jump */ new(MouseCode.RightButton),
/* NumPad0 */ new(DirectInputKey.Numpad0),
/* Escape */ new(DirectInputKey.Escape),
/* F11 */ new(DirectInputKey.F11),
/* P */ new(DirectInputKey.P),
/* WizForm1 */ new(DirectInputKey.D1),
/* WizForm2 */ new(DirectInputKey.D2),
/* WizForm3 */ new(DirectInputKey.D3),
/* WizForm4 */ new(DirectInputKey.D4),
/* WizForm5 */ new(DirectInputKey.D5),
/* Next */ new(DirectInputKey.Next),
/* Prior */ new(DirectInputKey.Prior),
/* MouseWheel */ new(MouseCode.WheelAxis),
/* Return */ new(DirectInputKey.Return),
/* F1 */ new(DirectInputKey.F1),
/* F2 */ new(DirectInputKey.F2),
/* F3 */ new(DirectInputKey.F3),
/* F4 */ new(DirectInputKey.F4),
/* T */ new(DirectInputKey.T),
/* Tab */ new(DirectInputKey.Tab),
/* F5 */ new(DirectInputKey.F5),
];
}

Expand Down

0 comments on commit be4a7a4

Please sign in to comment.