feat: Add Choose Color & Toggle Gyro for Controller Overlay

Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
Collecting
2025-10-31 05:34:41 +00:00
parent 141d9add2e
commit 1315e238b1

View File

@@ -1,4 +1,5 @@
// SPDX-FileCopyrightText: 2016 Citra Emulator Project
// SPDX-FileCopyrightText: 2025 citron Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
@@ -11,6 +12,7 @@
#include <vector>
#include <QWidget>
#include <QColorDialog>
#include "common/param_package.h"
#include "common/settings.h"
@@ -167,6 +169,12 @@ private:
/// Saves the current controller configuration into a selected controller profile.
void SaveProfile();
/// Implements a feature to change the controllers color manually.
void OnButtonChooseColor();
/// Toggles the gyro visibility for the overlay
void OnButtonToggleGyro();
std::unique_ptr<Ui::ConfigureInputPlayer> ui;
std::size_t player_index;