Right Mouse Button Down?


#1

This question may sound trivial but I can’t seem to find how I can detect the right mouse button down? All buttons respond to following code but how can I tell if the right mouse is down?

void mouseDown (const MouseEvent& e) { ect.. }


#2
if (e.mods.isRightButtonDown())
{
    // your code here
}