public override bool HandleInputs(InputState input)
        {
            List<IMenuEntry> Entries = Menu[Keys[selectedCategory]];
            if (input.IsMenuDown())
            {
                selected++;
                if (selected >= Entries.Count)
                    selected = 0;
            }

            if (input.IsMenuUp())
            {
                selected--;
                if (selected < 0)
                    selected = Entries.Count - 1;
            }
            if (input.IsMenuSelect())
                Entries[selected].Select();
            if (input.IsNext())
            {
                selected = 0;
                selectedCategory++;
                if (selectedCategory >= Keys.Count)
                    selectedCategory = 0;
            }
            if (input.IsPrevious())
            {
                selected = 0;
                selectedCategory--;
                if (selectedCategory < 0)
                    selectedCategory = Keys.Count - 1;
            }
            return true;
        }