Checking Alt-Ctrl-Shift modifiers while processing mouse events

What is the preferred way to check if some keys are pressed?



I can’t find any useful methods in InputManager for querying actual keyboard state.

Check if either of those is keys are down, store that in a boolean, and remember that when other keys are pressed. Look at the pressed boolean variable that comes with the key events in onAction().