Changing the right click input on mac

hi!
i have an application that opens a menu when right click is pressed.
no problems on that front but there is a minor issue about it.

when you use a mouse with a single button you usually emulate the right
click holding ctrl and left click; in my application however ctrl+click
doesn’t work!
I’ve found that instead of ctrl, cmd must be hold.

is there a way to remap these buttons?
thanks a lot!
Vittorio

Hey,

there was a thread about detecting CTRL+clicks recently.

Somebody posted a link to this:
http://www.libsdl.org/cgi/docwiki.cgi/SDL_GetModState

There was also a link to a previous discussion which I didn’t read:
http://lists.libsdl.org/pipermail/sdl-libsdl.org/2008-March/064545.html

Hope it helps.
Pat________________________________
From: vitto.giova@yahoo.it (Vittorio Giovara)
To: sdl at lists.libsdl.org
Sent: Tuesday, April 14, 2009 8:39:24 PM
Subject: [SDL] changing the right click input on mac

hi!
i have an application that opens a menu when right click is pressed.
no problems on that front but there is a minor issue about it.

when you use a mouse with a single button you usually emulate the right click holding ctrl and left click; in my application however ctrl+click doesn’t work!
I’ve found that instead of ctrl, cmd must be hold.

is there a way to remap these buttons?
thanks a lot!
Vittorio