Right click in Cocoa


how can I do a click with the right mouse button when using the Cocoa interface on Mac. It works perfectly when using a mouse with two buttons, but I did not figure out how to simulate the right mouse button with my trackpad. In usual applications I can press CTRL plus the mouse button to simulate a right click, in X11 the key to additionally press could be freely configured. Is there a way to simulate a right click with any key combination in Cocoa?


Hi Sebastian,

you can use two fingers for the click.


System Preferences -> Mouse -> Point & Click -> enable “Secondary click” with “click on right side”