diff --git a/arcade/key/__init__.py b/arcade/key/__init__.py index 44b202dd9..8a6ff0a51 100644 --- a/arcade/key/__init__.py +++ b/arcade/key/__init__.py @@ -4,6 +4,7 @@ """ from __future__ import annotations +from sys import platform # Key modifiers # Done in powers of two, so you can do a bit-wise 'and' to detect @@ -17,7 +18,11 @@ MOD_COMMAND = 64 MOD_OPTION = 128 MOD_SCROLLLOCK = 256 -MOD_ACCEL = 2 + +# Platform-specific base hotkey modifier +MOD_ACCEL = MOD_CTRL +if platform == 'darwin': + MOD_ACCEL = MOD_COMMAND # Keys BACKSPACE = 65288