27 lines
562 B
C#
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();
|
|
}
|
|
}
|
|
}
|