mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-07-01 12:29:27 +00:00
d885e5ccf4
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. |
||
---|---|---|
.. | ||
BeOS | ||
dummy | ||
emul_ppc | ||
include | ||
kpx_cpu | ||
MacOSX | ||
Unix | ||
Windows | ||
emul_op.cpp | ||
ether.cpp | ||
EthernetDriverFull.i | ||
EthernetDriverStub.i | ||
gfxaccel.cpp | ||
macos_util.cpp | ||
main.cpp | ||
name_registry.cpp | ||
prefs_items.cpp | ||
rom_patches.cpp | ||
rsrc_patches.cpp | ||
serial.cpp | ||
thunks.cpp | ||
timer.cpp | ||
user_strings.cpp | ||
video.cpp | ||
VideoDriverStub.i |