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

master
texmex 2018-11-24 06:21:29 +01:00 committed by Paramat
parent 93bccb3490
commit a969635322
1 changed files with 6 additions and 0 deletions

View File

@ -405,6 +405,12 @@ void set_default_settings(Settings *settings)
settings->setDefault("high_precision_fpu", "true");
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
#ifdef __ANDROID__
settings->setDefault("screen_w", "0");