diff options
author | german <german@thesoftwareartisans.com> | 2021-01-22 01:51:24 +0100 |
---|---|---|
committer | german <german@thesoftwareartisans.com> | 2021-02-06 16:43:42 +0100 |
commit | a7f9983563f76d1bca071be7490c2abf57ce16d5 (patch) | |
tree | 04148c1b6f412d1e08f69be9fee6f7ff25441dc3 /src/yuzu/configuration/configure_input_player_widget.h | |
parent | Replace text with vectors (diff) | |
download | yuzu-a7f9983563f76d1bca071be7490c2abf57ce16d5.tar yuzu-a7f9983563f76d1bca071be7490c2abf57ce16d5.tar.gz yuzu-a7f9983563f76d1bca071be7490c2abf57ce16d5.tar.bz2 yuzu-a7f9983563f76d1bca071be7490c2abf57ce16d5.tar.lz yuzu-a7f9983563f76d1bca071be7490c2abf57ce16d5.tar.xz yuzu-a7f9983563f76d1bca071be7490c2abf57ce16d5.tar.zst yuzu-a7f9983563f76d1bca071be7490c2abf57ce16d5.zip |
Diffstat (limited to 'src/yuzu/configuration/configure_input_player_widget.h')
-rw-r--r-- | src/yuzu/configuration/configure_input_player_widget.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/yuzu/configuration/configure_input_player_widget.h b/src/yuzu/configuration/configure_input_player_widget.h index 785d37924..ba5e49da3 100644 --- a/src/yuzu/configuration/configure_input_player_widget.h +++ b/src/yuzu/configuration/configure_input_player_widget.h @@ -25,6 +25,8 @@ 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_, + Settings::AnalogsRaw analogs_); void SetConnectedStatus(bool checked); void SetControllerType(Settings::ControllerType type); void BeginMappingButton(std::size_t button_id); @@ -114,8 +116,12 @@ private: void DrawDualZTriggers(QPainter& p, QPointF center, bool left_pressed, bool right_pressed); void DrawLeftTriggers(QPainter& p, QPointF center, bool left_pressed); void DrawLeftZTriggers(QPainter& p, QPointF center, bool left_pressed); + void DrawLeftTriggersTopView(QPainter& p, QPointF center, bool left_pressed); + void DrawLeftZTriggersTopView(QPainter& p, QPointF center, bool left_pressed); void DrawRightTriggers(QPainter& p, QPointF center, bool right_pressed); void DrawRightZTriggers(QPainter& p, QPointF center, bool right_pressed); + void DrawRightTriggersTopView(QPainter& p, QPointF center, bool right_pressed); + void DrawRightZTriggersTopView(QPainter& p, QPointF center, bool right_pressed); // Draw joystick functions void DrawJoystick(QPainter& p, QPointF center, float size, bool pressed); @@ -125,7 +131,7 @@ private: void DrawProJoystick(QPainter& p, QPointF center, bool pressed); // Draw button functions - void DrawCircleButton(QPainter& p, QPointF center, bool pressed, int button_size); + void DrawCircleButton(QPainter& p, QPointF center, bool pressed, float button_size); void DrawRoundButton(QPainter& p, QPointF center, bool pressed, float width, float height, Direction direction = Direction::None, float radius = 2); void DrawMinusButton(QPainter& p, QPointF center, bool pressed, int button_size); |