Further clarify `joypad.setanalog` docs

fixes d48bea5
see #2310
This commit is contained in:
YoshiRulz 2025-06-02 06:01:19 +10:00
parent 3c774e2607
commit 5cf2d1a7d1
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ namespace BizHawk.Client.Common
}
[LuaMethodExample("joypad.setanalog( { [ \"Tilt X\" ] = -63, [ \"Tilt Y\" ] = 127 } );")]
[LuaMethod("setanalog", "sets the given analog controls to their provided values for the current frame.")]
[LuaMethod("setanalog", "Sets the given analog controls to their provided values as autoholds. Set axes to the empty string to clear individual holds.")]
public void SetAnalog(LuaTable controls, int? controller = null)
{
var dict = new Dictionary<string, int?>();