You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix key mapping changes when moving from macOS to other platform
Removes separate `Command` key (use `Meta` instead). Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
This commit is contained in:
@@ -199,9 +199,7 @@ def configure(env):
|
||||
## Flags
|
||||
|
||||
env.Prepend(CPPPATH=["#platform/macos"])
|
||||
env.Append(
|
||||
CPPDEFINES=["MACOS_ENABLED", "UNIX_ENABLED", "APPLE_STYLE_KEYS", "COREAUDIO_ENABLED", "COREMIDI_ENABLED"]
|
||||
)
|
||||
env.Append(CPPDEFINES=["MACOS_ENABLED", "UNIX_ENABLED", "COREAUDIO_ENABLED", "COREMIDI_ENABLED"])
|
||||
env.Append(
|
||||
LINKFLAGS=[
|
||||
"-framework",
|
||||
|
||||
Reference in New Issue
Block a user