Switched right click emulation to be Ctrl-click, which matches Mac OS X

--HG--
branch : SDL-1.2
This commit is contained in:
Sam Lantinga
2009-09-21 11:32:58 +00:00
parent be0b0aaba8
commit e90579ca04

View File

@@ -785,7 +785,7 @@ void QZ_PumpEvents (_THIS)
if ( SDL_getenv("SDL_HAS3BUTTONMOUSE") ) {
DO_MOUSE_DOWN (SDL_BUTTON_LEFT);
} else {
if ( NSCommandKeyMask & current_mods ) {
if ( NSControlKeyMask & current_mods ) {
last_virtual_button = SDL_BUTTON_RIGHT;
DO_MOUSE_DOWN (SDL_BUTTON_RIGHT);
}