2014-11-30 20:29:30 +00:00
|
|
|
|
namespace BizHawk.Emulation.Common
|
|
|
|
|
{
|
2015-02-22 16:57:32 +00:00
|
|
|
|
public interface IInputPollable : IEmulatorService
|
2014-11-30 20:29:30 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The lag count.
|
|
|
|
|
/// </summary>
|
2015-07-09 17:05:30 +00:00
|
|
|
|
int LagCount { get; set; }
|
2014-11-30 20:29:30 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// If the current frame is a lag frame.
|
|
|
|
|
/// All cores should define it the same, a lag frame is a frame in which input was not polled.
|
|
|
|
|
/// </summary>
|
|
|
|
|
bool IsLagFrame { get; }
|
2014-12-04 00:43:12 +00:00
|
|
|
|
|
|
|
|
|
IInputCallbackSystem InputCallbacks { get; }
|
2014-11-30 20:29:30 +00:00
|
|
|
|
}
|
|
|
|
|
}
|