Commit 214b2485 authored by Sam Lantinga's avatar Sam Lantinga

Fixed bug #637

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

--HG--
branch : SDL-1.2
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403868
parent 73915a03
...@@ -785,7 +785,7 @@ void QZ_PumpEvents (_THIS) ...@@ -785,7 +785,7 @@ void QZ_PumpEvents (_THIS)
if ( SDL_getenv("SDL_HAS3BUTTONMOUSE") ) { if ( SDL_getenv("SDL_HAS3BUTTONMOUSE") ) {
DO_MOUSE_DOWN (SDL_BUTTON_LEFT); DO_MOUSE_DOWN (SDL_BUTTON_LEFT);
} else { } else {
if ( NSCommandKeyMask & current_mods ) { if ( NSControlKeyMask & current_mods ) {
last_virtual_button = SDL_BUTTON_RIGHT; last_virtual_button = SDL_BUTTON_RIGHT;
DO_MOUSE_DOWN (SDL_BUTTON_RIGHT); DO_MOUSE_DOWN (SDL_BUTTON_RIGHT);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment