Skip to content

Commit

Permalink
[Linux] Change XBox Throttle axis range to wide, remove Zero2One
Browse files Browse the repository at this point in the history
  • Loading branch information
rajat2004 committed Jun 20, 2020
1 parent 827f1f5 commit b8e4ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Unreal/Plugins/AirSim/Source/SimJoyStick/SimJoyStick.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ struct SimJoyStick::impl {
else { //XBox
switch(event_.number) {
case 0: state.left_x = normalizeAxisVal(event_.value, true, false, false); break;
case 1: state.left_y = normalizeAxisVal(event_.value, false, true, true); break;
case 1: state.left_y = normalizeAxisVal(event_.value, true, false, true); break;
case 2: state.left_z = normalizeAxisVal(event_.value, true, false, false); break;
case 3: state.right_x = normalizeAxisVal(event_.value, true, false, false); break;
case 4: state.right_y = normalizeAxisVal(event_.value, true, false, false); break;
Expand Down

0 comments on commit b8e4ed5

Please sign in to comment.