dingusdev / dingusppc

An experimental emulator
GNU General Public License v3.0
200 stars 21 forks source link

Remap Cocoa/macOS menu item key modifiers #57

Closed mihaip closed 7 months ago

mihaip commented 8 months ago

As part of adding ADB keyboard support (#56), we're now running into conflicts between the guest and host OS keyboard shortcuts when running on macOS hosts.

SDL2 unconditionally adds some menu items to the "Window" menu, and there are built-in ones too. As a workaround, we now iterate over all menu items are swap out command for control, since the the latter is generally unused in classic Mac OS.