A game framework written with osu! in mind.
1// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
2// See the LICENCE file in the repository root for full licence text.
3
4using osu.Framework.Input.States;
5using osuTK;
6using osuTK.Input;
7
8namespace osu.Framework.Input.Events
9{
10 /// <summary>
11 /// An event representing the end of a mouse drag.
12 /// Triggered when the mouse button used for dragging is released.
13 /// </summary>
14 public class DragEndEvent : MouseButtonEvent
15 {
16 public DragEndEvent(InputState state, MouseButton button, Vector2? screenSpaceMouseDownPosition = null)
17 : base(state, button, screenSpaceMouseDownPosition)
18 {
19 }
20 }
21}