mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-23 12:29:57 +00:00
asvitkine
d885e5ccf4
[patch from Kelvin Delbarre] SDL's Quartz video implementation maps command
clicks to right-clicks and option-clicks to middle-clicks, a feature intended for Mac users with single-button mice who are running SDL-based games that require a multi-button mouse. This is unhelpful in SheepShaver, where we want command-clicks and option-clicks to be passed through unchanged to the emulated Mac OS. We can disable the unwanted behavior by setting an environment variable SDL_HAS3BUTTONMOUSE intended for this very purpose. A similar change in main_windows.cpp is NOT required, because only the Quartz video implementation is involved. By SDL convention, putenv is used in preference to setenv, although for Unix platforms it doesn't matter.
Description
Basilisk II and SheepShaver Macintosh emulators
Languages
C++
66.1%
C
26.4%
M4
2.6%
Objective-C++
1.7%
Assembly
1.2%
Other
1.9%