mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Qt: Implement button mapping dialogs
This commit is contained in:
@ -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();
|
||||
};
|
||||
|
Reference in New Issue
Block a user