mirror of
https://git.citron-emu.org/citron/emulator
synced 2026-01-20 18:03:49 +00:00
feat: Add Choose Color & Toggle Gyro for Controller Overlay
Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user