diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/configuration/configure_input_player_widget.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/yuzu/configuration/configure_input_player_widget.cpp b/src/yuzu/configuration/configure_input_player_widget.cpp index fe1ee2289..a188eef92 100644 --- a/src/yuzu/configuration/configure_input_player_widget.cpp +++ b/src/yuzu/configuration/configure_input_player_widget.cpp | |||
| @@ -582,9 +582,9 @@ void PlayerControlPreview::DrawDualController(QPainter& p, const QPointF center) | |||
| 582 | using namespace Settings::NativeMotion; | 582 | using namespace Settings::NativeMotion; |
| 583 | p.setPen(colors.outline); | 583 | p.setPen(colors.outline); |
| 584 | p.setBrush(colors.transparent); | 584 | p.setBrush(colors.transparent); |
| 585 | Draw3dCube(p, center + QPointF(-180, -5), | 585 | Draw3dCube(p, center + QPointF(-180, 90), |
| 586 | motion_values[Settings::NativeMotion::MotionLeft].euler, 20.0f); | 586 | motion_values[Settings::NativeMotion::MotionLeft].euler, 20.0f); |
| 587 | Draw3dCube(p, center + QPointF(180, -5), | 587 | Draw3dCube(p, center + QPointF(180, 90), |
| 588 | motion_values[Settings::NativeMotion::MotionRight].euler, 20.0f); | 588 | motion_values[Settings::NativeMotion::MotionRight].euler, 20.0f); |
| 589 | } | 589 | } |
| 590 | 590 | ||
| @@ -2926,14 +2926,14 @@ void PlayerControlPreview::DrawArrow(QPainter& p, const QPointF center, const Di | |||
| 2926 | void PlayerControlPreview::Draw3dCube(QPainter& p, QPointF center, const Common::Vec3f& euler, | 2926 | void PlayerControlPreview::Draw3dCube(QPainter& p, QPointF center, const Common::Vec3f& euler, |
| 2927 | float size) { | 2927 | float size) { |
| 2928 | std::array<Common::Vec3f, 8> cube{ | 2928 | std::array<Common::Vec3f, 8> cube{ |
| 2929 | Common::Vec3f{-1, -1, -1}, | 2929 | Common::Vec3f{-0.7f, -1, -0.5f}, |
| 2930 | {-1, 1, -1}, | 2930 | {-0.7f, 1, -0.5f}, |
| 2931 | {1, 1, -1}, | 2931 | {0.7f, 1, -0.5f}, |
| 2932 | {1, -1, -1}, | 2932 | {0.7f, -1, -0.5f}, |
| 2933 | {-1, -1, 1}, | 2933 | {-0.7f, -1, 0.5f}, |
| 2934 | {-1, 1, 1}, | 2934 | {-0.7f, 1, 0.5f}, |
| 2935 | {1, 1, 1}, | 2935 | {0.7f, 1, 0.5f}, |
| 2936 | {1, -1, 1}, | 2936 | {0.7f, -1, 0.5f}, |
| 2937 | }; | 2937 | }; |
| 2938 | 2938 | ||
| 2939 | for (Common::Vec3f& point : cube) { | 2939 | for (Common::Vec3f& point : cube) { |