diff --git a/Lua/cheat menu.lua b/Lua/cheat menu.lua index 87ed11d..fdae21e 100755 --- a/Lua/cheat menu.lua +++ b/Lua/cheat menu.lua @@ -11,30 +11,16 @@ require "flag manager" -- TODO: make OoT versions for most of these menus ---[[ control schemes: -normal: (alt_input = false; eat_input = false) - L opens the menu - L selects menu items - D-Pad navigates up/down items and left/right through pages -alternate: (alt_input = true; eat_input = false) - L+R opens/closes the menu - L goes back a menu (or closes) - R selects menu items - L+Z hides the menu without closing (FIXME: interferes with back button) - D-Pad navigates -greedy: (alt_input = false; eat_input = true) +--[[ control scheme: L opens/closes the menu - while the menu is open, the game receives no inputs + (while the menu is open, the game is paused) D-Pad/Joystick/C-Buttons navigate through items and pages A select menu items B/R go back a menu (or closes) Z hides the menu without closing - TODO: joystick, a/b button etc -greedy alt: (alt_input = true; eat_input = true) - same as greedy but pauses the game while in menu - (enables run_while_paused) --]] +-- don't change these; the other modes are mostly broken: local run_while_paused = true local alt_input = true local eat_input = true diff --git a/Lua/lib/menu input handlers.lua b/Lua/lib/menu input handlers.lua index c7523bd..4e83cc1 100644 --- a/Lua/lib/menu input handlers.lua +++ b/Lua/lib/menu input handlers.lua @@ -46,8 +46,8 @@ local function handle_eat_input(handle, ctrl, pressed) ctrl.enter = ctrl.A end - joypad.set({}, 1) - joypad.setanalog({["X Axis"]=false, ["Y Axis"]=false}, 1) + --joypad.set({}, 1) + --joypad.setanalog({["X Axis"]=false, ["Y Axis"]=false}, 1) end handle:update(ctrl, pressed) end