16 lines
601 B
C#
16 lines
601 B
C#
using System.Collections.Generic;
|
|
|
|
namespace BizHawk.Client.Common
|
|
{
|
|
public interface IJoypad : IExternalApi
|
|
{
|
|
IDictionary<string, dynamic> Get(int? controller = null);
|
|
IDictionary<string, dynamic> GetImmediate(int? controller = null);
|
|
void SetFromMnemonicStr(string inputLogEntry);
|
|
void Set(Dictionary<string, bool> buttons, int? controller = null);
|
|
void Set(string button, bool? state = null, int? controller = null);
|
|
void SetAnalog(Dictionary<string, float> controls, object controller = null);
|
|
void SetAnalog(string control, float? value = null, object controller = null);
|
|
}
|
|
}
|