Commit graph

2 commits

Author SHA1 Message Date
d5ed9a26be unix_main: Support configuring modifier keys
The new `-k` argument takes some comma-separated assignments, such
as `-k ctrl=option,alt=command`. In this configuration, the SDL
control keys are mapped to the mac option key, and the SDL alt keys
are mapped to the Mac command key. The SDL "gui" keys remain
associated with the Mac command key, and so the (non-existent on mac
plus) Mac control key cannot be pressed with this particular
configuration.

When `-k` is not specified, the behavior is intended to be unchanged.
2025-04-16 19:44:52 +02:00
Matt Evans
563626a382 First public release
Squashed for release at v0.1
2024-06-15 21:10:48 +01:00