commit
90aa490c7a
1 changed files with 6 additions and 28 deletions
|
@ -3,18 +3,7 @@
|
|||
|
||||
diff -rupN melonDS.orig/src/frontend/qt_sdl/Config.cpp melonDS/src/frontend/qt_sdl/Config.cpp
|
||||
--- melonDS.orig/src/frontend/qt_sdl/Config.cpp 2023-01-20 17:14:09.563747030 -0800
|
||||
+++ melonDS/src/frontend/qt_sdl/Config.cpp 2023-01-20 17:14:32.191906162 -0800
|
||||
@@ -26,8 +26,8 @@
|
||||
namespace Config
|
||||
{
|
||||
|
||||
-int KeyMapping[12];
|
||||
-int JoyMapping[12];
|
||||
+int KeyMapping[14];
|
||||
+int JoyMapping[14];
|
||||
|
||||
int HKKeyMapping[HK_MAX];
|
||||
int HKJoyMapping[HK_MAX];
|
||||
+++ melonDS/src/frontend/qt_sdl/Config.cpp 2023-01-21 17:24:03.796484493 -0800
|
||||
@@ -185,6 +185,8 @@ ConfigEntry ConfigFile[] =
|
||||
{"HKKey_SolarSensorDecrease", 0, &HKKeyMapping[HK_SolarSensorDecrease], -1, true},
|
||||
{"HKKey_SolarSensorIncrease", 0, &HKKeyMapping[HK_SolarSensorIncrease], -1, true},
|
||||
|
@ -35,7 +24,7 @@ diff -rupN melonDS.orig/src/frontend/qt_sdl/Config.cpp melonDS/src/frontend/qt_s
|
|||
|
||||
diff -rupN melonDS.orig/src/frontend/qt_sdl/Config.h melonDS/src/frontend/qt_sdl/Config.h
|
||||
--- melonDS.orig/src/frontend/qt_sdl/Config.h 2023-01-20 17:14:09.563747030 -0800
|
||||
+++ melonDS/src/frontend/qt_sdl/Config.h 2023-01-20 17:14:32.191906162 -0800
|
||||
+++ melonDS/src/frontend/qt_sdl/Config.h 2023-01-21 17:24:03.796484493 -0800
|
||||
@@ -35,6 +35,8 @@ enum
|
||||
HK_SolarSensorDecrease,
|
||||
HK_SolarSensorIncrease,
|
||||
|
@ -45,20 +34,9 @@ diff -rupN melonDS.orig/src/frontend/qt_sdl/Config.h melonDS/src/frontend/qt_sdl
|
|||
HK_MAX
|
||||
};
|
||||
|
||||
@@ -70,8 +72,8 @@ struct CameraConfig
|
||||
};
|
||||
|
||||
|
||||
-extern int KeyMapping[12];
|
||||
-extern int JoyMapping[12];
|
||||
+extern int KeyMapping[14];
|
||||
+extern int JoyMapping[14];
|
||||
|
||||
extern int HKKeyMapping[HK_MAX];
|
||||
extern int HKJoyMapping[HK_MAX];
|
||||
diff -rupN melonDS.orig/src/frontend/qt_sdl/InputConfig/InputConfigDialog.cpp melonDS/src/frontend/qt_sdl/InputConfig/InputConfigDialog.cpp
|
||||
--- melonDS.orig/src/frontend/qt_sdl/InputConfig/InputConfigDialog.cpp 2023-01-20 17:14:09.563747030 -0800
|
||||
+++ melonDS/src/frontend/qt_sdl/InputConfig/InputConfigDialog.cpp 2023-01-20 17:14:32.195906190 -0800
|
||||
+++ melonDS/src/frontend/qt_sdl/InputConfig/InputConfigDialog.cpp 2023-01-21 17:24:03.800484522 -0800
|
||||
@@ -60,7 +60,9 @@ const int hk_general[] =
|
||||
HK_FullscreenToggle,
|
||||
HK_Lid,
|
||||
|
@ -89,7 +67,7 @@ diff -rupN melonDS.orig/src/frontend/qt_sdl/InputConfig/InputConfigDialog.cpp me
|
|||
InputConfigDialog::InputConfigDialog(QWidget* parent) : QDialog(parent), ui(new Ui::InputConfigDialog)
|
||||
diff -rupN melonDS.orig/src/frontend/qt_sdl/InputConfig/InputConfigDialog.h melonDS/src/frontend/qt_sdl/InputConfig/InputConfigDialog.h
|
||||
--- melonDS.orig/src/frontend/qt_sdl/InputConfig/InputConfigDialog.h 2023-01-20 17:14:09.563747030 -0800
|
||||
+++ melonDS/src/frontend/qt_sdl/InputConfig/InputConfigDialog.h 2023-01-20 17:14:32.195906190 -0800
|
||||
+++ melonDS/src/frontend/qt_sdl/InputConfig/InputConfigDialog.h 2023-01-21 17:24:03.800484522 -0800
|
||||
@@ -67,7 +67,7 @@ private:
|
||||
|
||||
int keypadKeyMap[12], keypadJoyMap[12];
|
||||
|
@ -101,7 +79,7 @@ diff -rupN melonDS.orig/src/frontend/qt_sdl/InputConfig/InputConfigDialog.h melo
|
|||
|
||||
diff -rupN melonDS.orig/src/frontend/qt_sdl/main.cpp melonDS/src/frontend/qt_sdl/main.cpp
|
||||
--- melonDS.orig/src/frontend/qt_sdl/main.cpp 2023-01-20 17:14:09.567747058 -0800
|
||||
+++ melonDS/src/frontend/qt_sdl/main.cpp 2023-01-20 17:14:32.199906218 -0800
|
||||
+++ melonDS/src/frontend/qt_sdl/main.cpp 2023-01-21 17:24:03.804484550 -0800
|
||||
@@ -426,7 +426,9 @@ EmuThread::EmuThread(QObject* parent) :
|
||||
connect(this, SIGNAL(screenLayoutChange()), mainWindow->panelWidget, SLOT(onScreenLayoutChanged()));
|
||||
connect(this, SIGNAL(windowFullscreenToggle()), mainWindow, SLOT(onFullscreenToggled()));
|
||||
|
@ -127,7 +105,7 @@ diff -rupN melonDS.orig/src/frontend/qt_sdl/main.cpp melonDS/src/frontend/qt_sdl
|
|||
int level = GBACart::SetInput(GBACart::Input_SolarSensorDown, true);
|
||||
diff -rupN melonDS.orig/src/frontend/qt_sdl/main.h melonDS/src/frontend/qt_sdl/main.h
|
||||
--- melonDS.orig/src/frontend/qt_sdl/main.h 2023-01-20 17:14:09.567747058 -0800
|
||||
+++ melonDS/src/frontend/qt_sdl/main.h 2023-01-20 17:14:32.199906218 -0800
|
||||
+++ melonDS/src/frontend/qt_sdl/main.h 2023-01-21 17:24:03.804484550 -0800
|
||||
@@ -85,6 +85,9 @@ signals:
|
||||
void windowFullscreenToggle();
|
||||
|
||||
|
|
Loading…
Reference in a new issue