Fix some lua documentation

This commit is contained in:
adelikat 2015-03-23 22:22:02 +00:00
parent 7da9efe3c2
commit 16e9bc7d38
2 changed files with 3 additions and 2 deletions

View File

@ -19,6 +19,7 @@ namespace BizHawk.Client.Common
.AppendLine("[module:ListParents]")
.AppendLine()
.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();

View File

@ -19,7 +19,7 @@ namespace BizHawk.Client.EmuHawk
[LuaMethodAttributes(
"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()
{
@ -34,7 +34,7 @@ namespace BizHawk.Client.EmuHawk
[LuaMethodAttributes(
"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()
{