forked from MoonsideGames/MoonWorks
fix vertical axis on axis buttons being backwards
parent
071518732e
commit
4c731401ff
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue