From 229959ee7df1fb8f7acb803d3cfa90b06f837e73 Mon Sep 17 00:00:00 2001 From: cracyc Date: Fri, 14 Jul 2017 13:20:46 -0500 Subject: plugins/cheat: popmessage for hotkey setting (nw) --- plugins/cheat/init.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins') diff --git a/plugins/cheat/init.lua b/plugins/cheat/init.lua index 56da68dbc56..aa7bd0e406c 100644 --- a/plugins/cheat/init.lua +++ b/plugins/cheat/init.lua @@ -352,10 +352,14 @@ function cheat.startplugin() local function hkcbfunc(cheat) local input = manager:machine():input() + manager:machine():popmessage("Press button for hotkey or wait to clear") + manager:machine():video():frame_update(true) input:seq_poll_start("switch") local time = os.clock() while (not input:seq_poll()) and (os.clock() < time + 1) do end cheat.hotkeys = {pressed = false, keys = input:seq_poll_final()} + manager:machine():popmessage() + manager:machine():video():frame_update(true) end for num, cheat in ipairs(cheats) do -- cgit v1.2.3