mirror of
https://git.eden-emu.dev/archive/citron
synced 2026-04-11 05:38:49 -04: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: 2016 Citra Emulator Project
|
||||||
|
// SPDX-FileCopyrightText: 2025 citron Emulator Project
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
@@ -11,6 +12,7 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
#include <QColorDialog>
|
||||||
|
|
||||||
#include "common/param_package.h"
|
#include "common/param_package.h"
|
||||||
#include "common/settings.h"
|
#include "common/settings.h"
|
||||||
@@ -167,6 +169,12 @@ private:
|
|||||||
/// Saves the current controller configuration into a selected controller profile.
|
/// Saves the current controller configuration into a selected controller profile.
|
||||||
void SaveProfile();
|
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::unique_ptr<Ui::ConfigureInputPlayer> ui;
|
||||||
|
|
||||||
std::size_t player_index;
|
std::size_t player_index;
|
||||||
|
|||||||
Reference in New Issue
Block a user