mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
MacOS: Fix default sneak key. Improve mouse response (#7885)
This commit is contained in:
parent
93bccb3490
commit
a969635322
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user