Commit c8d60cf8 authored by Felix Rath's avatar Felix Rath

fix left analog and right analog axis normalizaton for ps3 controller

parent 415799cc
......@@ -139,8 +139,8 @@ GamePad::GamePad( int _n )
setButtonMapping( LEFT_TRIGGER , 8);
setButtonMapping( RIGHT_TRIGGER , 9);
setAxisMapping( LEFT_ANALOG_TRIGGER , 12);
setAxisMapping( RIGHT_ANALOG_TRIGGER , 13);
setAxisMapping( LEFT_ANALOG_TRIGGER , 12); mAxesMultiplier[12] = 0.5f; mAxesAdd[12] = 0.5f;
setAxisMapping( RIGHT_ANALOG_TRIGGER , 13); mAxesMultiplier[13] = -0.5f; mAxesAdd[13] = 0.5f;
setAxisMapping( LEFT_ANALOG_STICK_X , 0);
setAxisMapping( LEFT_ANALOG_STICK_Y , 1);
setAxisMapping( RIGHT_ANALOG_STICK_X , 2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment