Fix some lua documentation
This commit is contained in:
parent
7da9efe3c2
commit
16e9bc7d38
|
@ -19,6 +19,7 @@ namespace BizHawk.Client.Common
|
||||||
.AppendLine("[module:ListParents]")
|
.AppendLine("[module:ListParents]")
|
||||||
.AppendLine()
|
.AppendLine()
|
||||||
.AppendLine("This page documents the the behavior and parameters of Lua functions available for the [BizHawk] emulator.")
|
.AppendLine("This page documents the the behavior and parameters of Lua functions available for the [BizHawk] emulator.")
|
||||||
|
.AppendLine("__This is an autogenerated page, do not edit__")
|
||||||
.AppendLine()
|
.AppendLine()
|
||||||
.AppendLine();
|
.AppendLine();
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
|
|
||||||
[LuaMethodAttributes(
|
[LuaMethodAttributes(
|
||||||
"get",
|
"get",
|
||||||
"Returns a lua table of all the buttons the user is currently pressing on their keyboard and gamepads\nAll buttons that are pressed have their key values set to true; all others remain null.\nAll key names use the names from http://slimdx.mdxinfo.com/latestdocs/Help/Html/T_SlimDX_DirectInput_Key.htm and are case-sensitive."
|
"Returns a lua table of all the buttons the user is currently pressing on their keyboard and gamepads\nAll buttons that are pressed have their key values set to true; all others remain nil.\nAll key names use the names from [http://www.codeproject.com/Tips/73227/Keys-Enumeration-Win] and are case-sensitive."
|
||||||
)]
|
)]
|
||||||
public LuaTable Get()
|
public LuaTable Get()
|
||||||
{
|
{
|
||||||
|
@ -34,7 +34,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
|
|
||||||
[LuaMethodAttributes(
|
[LuaMethodAttributes(
|
||||||
"getmouse",
|
"getmouse",
|
||||||
"Returns a lua table of the mouse X/Y coordinates and button states. Table returns the values X, Y, Left, Middle, Right, XButton1, XButton2"
|
"Returns a lua table of the mouse X/Y coordinates and button states. Table keys are X, Y, Left, Middle, Right, XButton1, XButton2"
|
||||||
)]
|
)]
|
||||||
public LuaTable GetMouse()
|
public LuaTable GetMouse()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue