public static bool IsValidPrimaryKey()

in snipinsights/windows/SnipInsight/Util/KeyCombo.cs [201:230]


        public static bool IsValidPrimaryKey(Key key)
        {
            switch (key)
            {
                case Key.Apps: // Properties
                case Key.System:
                case Key.Sleep:
                case Key.None:
                case Key.NoName:
                case Key.JunjaMode:
                case Key.KanaMode:
                case Key.KanjiMode:
                case Key.ImeAccept:
                case Key.ImeConvert:
                case Key.ImeModeChange:
                case Key.ImeNonConvert:
                case Key.ImeProcessed:
                case Key.DeadCharProcessed:
                case Key.NumLock:
                case Key.OemSemicolon:
                case Key.OemOpenBrackets:
                case Key.CapsLock:
                    return false;
            }

            if (IsDbeKey(key))
                return false;

            return true;
        }