2022-06-21 18:49:01 +08:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
|
|
using System.Collections.Generic;
|
2022-06-21 19:37:17 +08:00
|
|
|
using osu.Framework.Input.Events;
|
2022-06-21 18:49:01 +08:00
|
|
|
|
|
|
|
namespace osu.Game.Overlays.Mods.Input
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// A no-op implementation of <see cref="IModHotkeyHandler"/>.
|
|
|
|
/// Used when a column is not handling any hotkeys at all.
|
|
|
|
/// </summary>
|
|
|
|
public class NoopModHotkeyHandler : IModHotkeyHandler
|
|
|
|
{
|
2022-06-21 19:37:17 +08:00
|
|
|
public bool HandleHotkeyPressed(KeyDownEvent e, IEnumerable<ModState> availableMods) => false;
|
2022-06-21 18:49:01 +08:00
|
|
|
}
|
|
|
|
}
|