// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Framework.Input.Events; namespace osu.Game.Overlays.Mods.Input { /// /// Encapsulates strategies of handling mod hotkeys on the . /// public interface IModHotkeyHandler { /// /// Attempt to handle the supplied as a selection of one of the mods in . /// /// The event representing the user's keypress. /// The list of currently available mods. /// Whether the supplied event was handled as a mod selection/deselection. bool HandleHotkeyPressed(KeyDownEvent e, IEnumerable availableMods); } }