diff options
author | Lioncash <mathew1800@gmail.com> | 2021-02-08 05:58:15 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-02-09 19:15:03 +0100 |
commit | 5c7c212f615bce3d197785b5d72806709ed577bf (patch) | |
tree | 054dd192436cdef2aa65d1012baaccadd2abe82a /src/yuzu/configuration/configure_input_player_widget.h | |
parent | Settings: Add depth to Joysticks on Pro Controller preview (#5894) (diff) | |
download | yuzu-5c7c212f615bce3d197785b5d72806709ed577bf.tar yuzu-5c7c212f615bce3d197785b5d72806709ed577bf.tar.gz yuzu-5c7c212f615bce3d197785b5d72806709ed577bf.tar.bz2 yuzu-5c7c212f615bce3d197785b5d72806709ed577bf.tar.lz yuzu-5c7c212f615bce3d197785b5d72806709ed577bf.tar.xz yuzu-5c7c212f615bce3d197785b5d72806709ed577bf.tar.zst yuzu-5c7c212f615bce3d197785b5d72806709ed577bf.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu/configuration/configure_input_player_widget.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/yuzu/configuration/configure_input_player_widget.h b/src/yuzu/configuration/configure_input_player_widget.h index 676effbfd..91c3343f1 100644 --- a/src/yuzu/configuration/configure_input_player_widget.h +++ b/src/yuzu/configuration/configure_input_player_widget.h @@ -25,7 +25,7 @@ public: void SetPlayerInput(std::size_t index, const ButtonParam& buttons_param, const AnalogParam& analogs_param); - void SetPlayerInputRaw(std::size_t index, const Settings::ButtonsRaw buttons_, + void SetPlayerInputRaw(std::size_t index, const Settings::ButtonsRaw& buttons_, Settings::AnalogsRaw analogs_); void SetConnectedStatus(bool checked); void SetControllerType(Settings::ControllerType type); @@ -138,8 +138,8 @@ private: // Draw joystick functions void DrawJoystick(QPainter& p, QPointF center, float size, bool pressed); void DrawJoystickSideview(QPainter& p, QPointF center, float angle, float size, bool pressed); - void DrawRawJoystick(QPainter& p, QPointF center, const QPointF value, - const Input::AnalogProperties properties); + void DrawRawJoystick(QPainter& p, QPointF center, QPointF value, + const Input::AnalogProperties& properties); void DrawProJoystick(QPainter& p, QPointF center, QPointF offset, float scalar, bool pressed); void DrawGCJoystick(QPainter& p, QPointF center, bool pressed); |