Forward entire event to IModHotkeyHandler

Required for shift handling in the classic implementation.
This commit is contained in:
Bartłomiej Dach
2022-06-21 13:37:17 +02:00
parent 143c8e8da6
commit 234120ff43
5 changed files with 13 additions and 12 deletions

View File

@ -2,7 +2,7 @@
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osuTK.Input;
using osu.Framework.Input.Events;
namespace osu.Game.Overlays.Mods.Input
{
@ -11,6 +11,6 @@ namespace osu.Game.Overlays.Mods.Input
/// </summary>
public class ClassicModHotkeyHandler : IModHotkeyHandler
{
public bool HandleHotkeyPressed(Key hotkey, IEnumerable<ModState> availableMods) => false; // TODO
public bool HandleHotkeyPressed(KeyDownEvent e, IEnumerable<ModState> availableMods) => false; // TODO
}
}