You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -31,43 +21,6 @@ public sealed class EmuClientApi : IEmuClientApi
31
21
32
22
privatereadonlyIGameInfoGame;
33
23
34
-
privatereadonlyIReadOnlyCollection<JoypadButton>JoypadButtonsArray=Enum.GetValues(typeof(JoypadButton)).Cast<JoypadButton>().ToList();//TODO can the return of GetValues be cast to JoypadButton[]? --yoshi
@@ -273,39 +181,6 @@ public void SetGameExtraPadding(int left, int top, int right, int bottom)
273
181
_mainForm.FrameBufferResized();
274
182
}
275
183
276
-
publicvoidSetInput(intplayer,Joypadjoypad)
277
-
{
278
-
if(!1.RangeTo(RunningSystem.MaxControllers).Contains(player))thrownewIndexOutOfRangeException($"{RunningSystem.DisplayName} does not support {player} controller(s)");
Copy file name to clipboardExpand all lines: src/BizHawk.Client.Common/Api/Interfaces/IEmuClientApi.cs
-17Lines changed: 0 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -63,14 +63,6 @@ public interface IEmuClientApi : IExternalApi
63
63
64
64
voidFrameSkip(intnumFrames);
65
65
66
-
/// <summary>
67
-
/// Gets a <see cref="Joypad"/> for specified player
68
-
/// </summary>
69
-
/// <param name="player">Player (one based) you want current inputs</param>
70
-
/// <returns>A <see cref="Joypad"/> populated with current inputs</returns>
71
-
/// <exception cref="IndexOutOfRangeException">Raised when you specify a player less than 1 or greater than maximum allows (see SystemInfo class to get this information)</exception>
72
-
JoypadGetInput(intplayer);
73
-
74
66
boolGetSoundOn();
75
67
76
68
intGetTargetScanlineIntensity();
@@ -178,15 +170,6 @@ public interface IEmuClientApi : IExternalApi
/// Set inputs in specified <see cref="Joypad"/> to specified player
183
-
/// </summary>
184
-
/// <param name="player">Player (one based) whom inputs must be set</param>
185
-
/// <param name="joypad"><see cref="Joypad"/> with inputs</param>
186
-
/// <exception cref="IndexOutOfRangeException">Raised when you specify a player less than 1 or greater than maximum allows (see SystemInfo class to get this information)</exception>
187
-
/// <remarks>Still have some strange behaviour with multiple inputs; so this feature is still in beta</remarks>
0 commit comments