Essgee.Unity/Assets/Plugins/Essgee/EventArguments/PollInputEventArgs.cs
2025-01-02 17:55:16 +08:00

27 lines
562 B
C#

using Essgee.Utilities.XInput;
using System;
using System.Collections.Generic;
namespace Essgee.EventArguments
{
public class PollInputEventArgs : EventArgs
{
public IEnumerable<Keys> Keyboard { get; set; }
public MouseButtons MouseButtons { get; set; }
public (int X, int Y) MousePosition { get; set; }
public ControllerState ControllerState { get; set; }
public PollInputEventArgs()
{
Keyboard = new List<Keys>();
MouseButtons = MouseButtons.None;
MousePosition = (0, 0);
ControllerState = new ControllerState();
}
}
}