settings: Disable controller preview if controller is not active
This commit is contained in:
parent
e41c8b6780
commit
ac48e059bc
3 changed files with 25 additions and 2 deletions
src/yuzu/configuration
|
@ -100,6 +100,7 @@ private:
|
|||
|
||||
static LedPattern GetColorPattern(std::size_t index, bool player_on);
|
||||
void UpdateColors();
|
||||
void ResetInputs();
|
||||
|
||||
// Draw controller functions
|
||||
void DrawHandheldController(QPainter& p, QPointF center);
|
||||
|
@ -176,6 +177,7 @@ private:
|
|||
using StickArray =
|
||||
std::array<std::unique_ptr<Input::AnalogDevice>, Settings::NativeAnalog::NUM_STICKS_HID>;
|
||||
|
||||
bool is_enabled{};
|
||||
bool mapping_active{};
|
||||
int blink_counter{};
|
||||
QColor button_color{};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue