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..
}
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..
}
if (e.mods.isRightButtonDown())
{
// your code here
}