Input settings WIP
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <QPushButton>
|
||||
#include <CPUSettings.hpp>
|
||||
#include <AudioSettings.hpp>
|
||||
#include <InputSettings.hpp>
|
||||
|
||||
class SettingsWindow : public QWidget {
|
||||
QPushButton* cancel = new QPushButton("Cancel");
|
||||
@@ -12,8 +13,12 @@ class SettingsWindow : public QWidget {
|
||||
public:
|
||||
float getVolumeL() { return float(audioSettings->volumeL->value()) / 100.f; }
|
||||
float getVolumeR() { return float(audioSettings->volumeR->value()) / 100.f; }
|
||||
std::array<Qt::Key, 18> keyMap{};
|
||||
SettingsWindow();
|
||||
nlohmann::json settings;
|
||||
CPUSettings* cpuSettings;
|
||||
AudioSettings* audioSettings;
|
||||
InputSettings* inputSettings;
|
||||
Q_SIGNALS:
|
||||
void regrabKeyboard();
|
||||
};
|
||||
Reference in New Issue
Block a user