fix vertical axis on axis buttons being backwards

remotes/1695061714407202320/main
cosmonaut 2023-06-28 18:19:34 -07:00
parent 071518732e
commit 4c731401ff
1 changed files with 4 additions and 4 deletions

View File

@ -100,13 +100,13 @@ namespace MoonWorks.Input
LeftXLeft = new AxisButton(LeftX, false); LeftXLeft = new AxisButton(LeftX, false);
LeftXRight = new AxisButton(LeftX, true); LeftXRight = new AxisButton(LeftX, true);
LeftYUp = new AxisButton(LeftY, false); LeftYUp = new AxisButton(LeftY, true);
LeftYDown = new AxisButton(LeftY, true); LeftYDown = new AxisButton(LeftY, false);
RightXLeft = new AxisButton(RightX, false); RightXLeft = new AxisButton(RightX, false);
RightXRight = new AxisButton(RightX, true); RightXRight = new AxisButton(RightX, true);
RightYUp = new AxisButton(RightY, false); RightYUp = new AxisButton(RightY, true);
RightYDown = new AxisButton(RightY, true); RightYDown = new AxisButton(RightY, false);
TriggerLeft = new Trigger(this, TriggerCode.Left, SDL.SDL_GameControllerAxis.SDL_CONTROLLER_AXIS_TRIGGERLEFT); TriggerLeft = new Trigger(this, TriggerCode.Left, SDL.SDL_GameControllerAxis.SDL_CONTROLLER_AXIS_TRIGGERLEFT);
TriggerRight = new Trigger(this, TriggerCode.Right, SDL.SDL_GameControllerAxis.SDL_CONTROLLER_AXIS_TRIGGERRIGHT); TriggerRight = new Trigger(this, TriggerCode.Right, SDL.SDL_GameControllerAxis.SDL_CONTROLLER_AXIS_TRIGGERRIGHT);