You can only check if the Modifier keys are pressed from the MouseEvent and not specific keys.
If it is really necessary, you could use a mousepressed and mousereleased events to monitor the mouse state and a KeyPressed and/or KeyReleased event to listen for the keypresses and check the mouse state.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.