Show / Hide Table of Contents

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: Ctrl, Shift, Alt.

Returns
KMod

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.