A game framework written with osu! in mind.
at master 558 B view raw
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 public class MousePositionAbsoluteInputFromTouch : MousePositionAbsoluteInput, ISourcedFromTouch 9 { 10 public MousePositionAbsoluteInputFromTouch(TouchStateChangeEvent touchEvent) 11 { 12 TouchEvent = touchEvent; 13 } 14 15 public TouchStateChangeEvent TouchEvent { get; } 16 } 17}