From ea9005868b0cabc714cced47f99ecb0cdcf0be53 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Sun, 25 May 2014 12:57:48 -0400 Subject: [PATCH] Switch out bumpers being roll for bumpers being y axis (up/down) with the xbox controller This seems more widely used, and roll does nothing in Avatar movement so this is more useful If people want it the other way, they can just switch it themselves. --- indra/newview/llviewerjoystick.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/llviewerjoystick.cpp b/indra/newview/llviewerjoystick.cpp index 38f4e29ea..551195381 100644 --- a/indra/newview/llviewerjoystick.cpp +++ b/indra/newview/llviewerjoystick.cpp @@ -1326,8 +1326,8 @@ void LLViewerJoystick::setSNDefaults() Debug setting InternalMapping,Jostick Axis (see above) */ gSavedSettings.setS32("JoystickAxis0", 1); // z (at) gSavedSettings.setS32("JoystickAxis1", 0); // x (slide) - gSavedSettings.setS32("JoystickAxis2", xbox ? -1 : 2); // y (up) - gSavedSettings.setS32("JoystickAxis3", xbox ? 2 : 4); // roll + gSavedSettings.setS32("JoystickAxis2", 2); // y (up) + gSavedSettings.setS32("JoystickAxis3", xbox ? -1 : 4); // roll gSavedSettings.setS32("JoystickAxis4", xbox ? 4 : 3); // pitch gSavedSettings.setS32("JoystickAxis5", xbox ? 3 : 5); // yaw gSavedSettings.setS32("JoystickAxis6", -1);