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.StateChanges.Events;
5
6namespace osu.Framework.Input.StateChanges
7{
8 /// <summary>
9 /// Denotes an input which was sourced from a touch event.
10 /// Generally used to mark when an alternate input was triggered from a touch source (ie. touch being emulated as a mouse).
11 /// </summary>
12 public interface ISourcedFromTouch : IInput
13 {
14 /// <summary>
15 /// The source touch event.
16 /// </summary>
17 TouchStateChangeEvent TouchEvent { get; }
18 }
19}