// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Framework.Input.StateChanges { /// /// Denotes a button state. /// /// Type of button. public struct ButtonInputEntry where TButton : struct { /// /// The button referred to. /// public TButton Button; /// /// Whether is currently pressed or not. /// public bool IsPressed; public ButtonInputEntry(TButton button, bool isPressed) { Button = button; IsPressed = isPressed; } } }