Method keys.getMod
Overload
Gets flags indicating which modifier keys are pressed: Ctrl
, Shift
, Alt
, Win
. Calls keys.isPressed.
In UI code use keys.gui instead.
public static KMod getMod(KMod mod = KMod.Shift | KMod.Ctrl | KMod.Alt | KMod.Win)
Parameters
mod (KMod)
Check only these keys. Default - all four. |