You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Mac keyboard keys are fixed in dm/host/front_mac.m
(key_bit, on_key). I found no setting or issue for them: #878 and #1127 assign the keyboard to a player, not keys to
buttons.
Why: on Mario Kart World with a MacBook's built-in QWERTY
keyboard, Space made drifting much easier than E.
What I run locally, as a small patch of env switches on 777a5f6c (upstream's keys stay as duplicates):
Key
Button
Space
R (drift)
left Shift
L (items)
arrows
right stick
right Command + arrows
D-pad
-, =
-, +
Request: one setting that maps a key to a button, per game,
for example DM_KEY_MAP=space:R,lshift:L (the format is only
a suggestion).
Two traps from the patch: macOS reports modifiers as flagsChanged, with no key down or up, and Command + key has
to stay a menu shortcut unless it is mapped.
Happy to share the patch if it helps. Nothing here contains
game files, keys or data extracted from a game.
Thanks for the feature request and the Mario Kart World drift mapping example, @elieteyssedou.
PR #3141 is currently open with a general controls-file design that covers Mac keyboard remapping alongside controller button remapping and mouse-as-stick. Since main still uses the fixed keyboard map until that (or another mapping design) lands, we're keeping this issue open for now and tracking the Mac keyboard remapping use case against #3141.
Activity
DM_KEY_MAP gives keys of the Mac keyboard another control than the la…
mac/input: a keyboard map, remapped in the settings window and in game
mac/input: a keyboard map, remapped in the settings window and in game
mac/input: a keyboard map, remapped in the settings window and in game
mac/input: a keyboard map, remapped in the settings window and in game
mac/input: a keyboard map, remapped in the settings window and in game
mac/input: a keyboard map, remapped in the settings window and in game
mac/input: a keyboard map, remapped in the settings window and in game
mac/input: a keyboard map, remapped in the settings window and in game
seedds commentedon Nov 28, 2026
Thanks for the feature request and the Mario Kart World drift mapping example, @elieteyssedou.
PR #3141 is currently open with a general controls-file design that covers Mac keyboard remapping alongside controller button remapping and mouse-as-stick. Since main still uses the fixed keyboard map until that (or another mapping design) lands, we're keeping this issue open for now and tracking the Mac keyboard remapping use case against #3141.
mac/input: a keyboard map, remapped in the settings window and in game