MacOS: Fix default sneak key. Improve mouse response (#7885)

This commit is contained in:
texmex 2018-11-24 06:21:29 +01:00 committed by Paramat
parent 93bccb3490
commit a969635322

@ -405,6 +405,12 @@ void set_default_settings(Settings *settings)
settings->setDefault("high_precision_fpu", "true"); settings->setDefault("high_precision_fpu", "true");
settings->setDefault("enable_console", "false"); settings->setDefault("enable_console", "false");
// Altered settings for macOS
#ifdef __MACH__ && __APPLE__
settings->setDefault("keymap_sneak", "KEY_SHIFT");
settings->setDefault("fps_max", "0");
#endif
// Altered settings for Android // Altered settings for Android
#ifdef __ANDROID__ #ifdef __ANDROID__
settings->setDefault("screen_w", "0"); settings->setDefault("screen_w", "0");