From e12a136e37da1a7974f3594eeba03ae124d90870 Mon Sep 17 00:00:00 2001 From: Ironbell Date: Sun, 24 Jun 2018 16:01:32 +0200 Subject: [PATCH] flip dpad y axis for #212 --- src/Controller/GamepadMappings/XboxEliteMapping.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Controller/GamepadMappings/XboxEliteMapping.cpp b/src/Controller/GamepadMappings/XboxEliteMapping.cpp index 392eec7e..3bf2dd08 100644 --- a/src/Controller/GamepadMappings/XboxEliteMapping.cpp +++ b/src/Controller/GamepadMappings/XboxEliteMapping.cpp @@ -34,8 +34,8 @@ static input_map INPUT_MAP() { { { GamepadInput::Axis_PovX_Negative, GamepadAxis::DPadLeft }, { GamepadInput::Axis_PovX_Positive, GamepadAxis::DPadRight }, - { GamepadInput::Axis_PovY_Negative, GamepadAxis::DPadDown }, - { GamepadInput::Axis_PovY_Positive, GamepadAxis::DPadUp }, + { GamepadInput::Axis_PovY_Negative, GamepadAxis::DPadUp }, + { GamepadInput::Axis_PovY_Positive, GamepadAxis::DPadDown }, { GamepadInput::Axis_X_Negative, GamepadAxis::LeftStickLeft }, { GamepadInput::Axis_X_Positive, GamepadAxis::LeftStickRight }, { GamepadInput::Axis_Y_Negative, GamepadAxis::LeftStickUp },