Small correction.

Removed the link to the key names that did not contain correct information, this list of key names is not used in Bizhawk for lua's input.get()
This commit is contained in:
pasky1382 2015-06-22 13:40:22 +00:00
parent 296be2aef7
commit 703dc33cc0
2 changed files with 1 additions and 2 deletions

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 nil.\nAll key names use the names from [http://www.codeproject.com/Tips/73227/Keys-Enumeration-Win] 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."
)]
public LuaTable Get()
{

View File

@ -161,7 +161,6 @@ local function check_inputs()
-- Mario boxes
if inputs["NumberPad1"] == true then
K1 = true
gui.drawText(10,10,"DOIG")
end
if inputs["NumberPad1"] == nil and K1 == true then -- Key released
TOGGLE_MARIO = toggle(TOGGLE_MARIO)