Browse files

Fix typo causing Y axis in joystick tester not to be mirrored correct…

…ly if backwards. Should fix #9300
  • Loading branch information...
hrydgard committed Sep 29, 2017
1 parent 3d5e047 commit 1b6c5c4832d562ca5de2e830fbe6cbfa5ceae558
Showing with 1 addition and 1 deletion.
  1. +1 −1 UI/ControlMappingScreen.cpp
@@ -438,7 +438,7 @@ class JoystickHistoryView : public UI::InertView {
JoystickHistoryView(int xAxis, int xDevice, int xDir, int yAxis, int yDevice, int yDir, UI::LayoutParams *layoutParams = nullptr)
: UI::InertView(layoutParams),
xAxis_(xAxis), xDevice_(xDevice), xDir_(xDir),
yAxis_(yAxis), yDevice_(yDevice), yDir_(xDir),
yAxis_(yAxis), yDevice_(yDevice), yDir_(yDir),
curX_(0.0f), curY_(0.0f),
maxCount_(500) {}
void Draw(UIContext &dc) override;

0 comments on commit 1b6c5c4

Please sign in to comment.