mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
Qt: Implement button mapping dialogs
This commit is contained in:
parent
faae89861b
commit
33e111e92f
28 changed files with 1871 additions and 3 deletions
|
@ -5,6 +5,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <QSettings>
|
||||
#include <QVector>
|
||||
|
||||
#include "Core/HW/SI/SI.h"
|
||||
|
||||
|
@ -13,6 +14,8 @@ namespace DiscIO
|
|||
enum class Language;
|
||||
}
|
||||
|
||||
class InputConfig;
|
||||
|
||||
// UI settings to be stored in the config directory.
|
||||
class Settings final : public QSettings
|
||||
{
|
||||
|
@ -24,6 +27,9 @@ public:
|
|||
// UI
|
||||
QString GetThemeDir() const;
|
||||
QString GetResourcesDir() const;
|
||||
QString GetProfilesDir() const;
|
||||
QVector<QString> GetProfiles(const InputConfig* config) const;
|
||||
QString GetProfileINIPath(const InputConfig* config, const QString& name) const;
|
||||
bool IsInDevelopmentWarningEnabled() const;
|
||||
|
||||
// GameList
|
||||
|
@ -92,5 +98,11 @@ public:
|
|||
bool IsContinuousScanningEnabled() const;
|
||||
void SetContinuousScanningEnabled(bool enabled);
|
||||
|
||||
bool IsGCAdapterRumbleEnabled(int port) const;
|
||||
void SetGCAdapterRumbleEnabled(int port, bool enabled);
|
||||
|
||||
bool IsGCAdapterSimulatingDKBongos(int port) const;
|
||||
void SetGCAdapterSimulatingDKBongos(int port, bool enabled);
|
||||
|
||||
void Save();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue