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
This commit is contained in:
parent
73915a0350
commit
214b2485e0
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue