summaryrefslogtreecommitdiff
path: root/src/core/config.h
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-10-04 22:18:33 +0300
committerGitHub <noreply@github.com>2020-10-04 22:18:33 +0300
commitea4007a13c844007b5b5ad06b6e01941cbd66e10 (patch)
tree32195602f9ba72f90ff2dbe4a2a1447f339012e1 /src/core/config.h
parent39678ba5cad61067547771e4a3037e4944f6a5c5 (diff)
parentfae97f29c4f14cba0d37695d67e959defbe7ea75 (diff)
Merge pull request #738 from erorcun/master
Fixes, mouse AUX buttons, joystick detect menu, INI
Diffstat (limited to 'src/core/config.h')
-rw-r--r--src/core/config.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/config.h b/src/core/config.h
index e8e15ebe..171c6be9 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -198,6 +198,7 @@ enum Config {
#define FIX_BUGS // fixes bugs that we've came across during reversing, TODO: use this more
#define MORE_LANGUAGES // Add more translations to the game
#define COMPATIBLE_SAVES // this allows changing structs while keeping saves compatible
+#define LOAD_INI_SETTINGS
// Rendering/display
#define ASPECT_RATIO_SCALE // Not just makes everything scale with aspect ratio, also adds support for all aspect ratios
@@ -226,6 +227,9 @@ enum Config {
#if !defined(RW_GL3) && defined(_WIN32)
#define XINPUT
#endif
+#if !defined(_WIN32) && !defined(__SWITCH__)
+#define DONT_TRUST_RECOGNIZED_JOYSTICKS // Then we'll only rely on GLFW gamepad DB, and expect user to enter Controller->Detect joysticks if his joystick isn't on that list.
+#endif
#define DETECT_PAD_INPUT_SWITCH // Adds automatic switch of pad related stuff between controller and kb/m
#define KANGAROO_CHEAT
#define ALLCARSHELI_CHEAT
@@ -306,4 +310,4 @@ enum Config {
#undef NO_ISLAND_LOADING
#define PC_PARTICLE
#define VC_PED_PORTS // To not process collisions always. But should be tested if that's really beneficial
-#endif \ No newline at end of file
+#endif