I'm trying to get Java to recognize the action of pressing both mouse buttons in the same time. I did some research and I found that
Event.getModifiersEx() can help me do what I want, but I can't figure out how to implement it the correct way.
Event.BUTTON1_DOWN_MASK is the left mouse button
Event.BUTTON3_DOWN_MASK is the right mouse button
but how do I check that both of these are being held down at the same time using getModifiersEx()?
I tried everything, but I cant figure it out...