From 16e9bc7d38bbaecdbc707ce1b2b5899844aa4fc5 Mon Sep 17 00:00:00 2001 From: adelikat Date: Mon, 23 Mar 2015 22:22:02 +0000 Subject: [PATCH] Fix some lua documentation --- BizHawk.Client.Common/lua/LuaDocumentation.cs | 1 + .../tools/Lua/Libraries/EmuLuaLibrary.Input.cs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/BizHawk.Client.Common/lua/LuaDocumentation.cs b/BizHawk.Client.Common/lua/LuaDocumentation.cs index dd58a05b3c..4ca8396655 100644 --- a/BizHawk.Client.Common/lua/LuaDocumentation.cs +++ b/BizHawk.Client.Common/lua/LuaDocumentation.cs @@ -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(); diff --git a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Input.cs b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Input.cs index ae4de963d8..6656cfaef0 100644 --- a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Input.cs +++ b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Input.cs @@ -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() {