Method keys.gui.getMod
Overload
Gets flags indicating which modifier keys are pressed.
public static KMod getMod(KMod mod = KMod.Shift | KMod.Ctrl | KMod.Alt)
Parameters
mod (KMod)
Check only these keys. Default: |
Returns
Remarks
By default does not check the Win
key, as it is not used in UI, but you can include it in mod if need.