diff options
author | 2019-11-20 22:35:13 -0600 | |
---|---|---|
committer | 2019-11-20 22:35:13 -0600 | |
commit | 0ec88f2ff75fcc65191c0c89ad47f635ebb8c51a (patch) | |
tree | 30f85e650b89beca52945f3663d93ce9aa616bb8 /plugins/autofire/init.lua | |
parent | 52bc1df46e17f0412196f16e44ccb2fcfe949ca5 (diff) |
plugins/autofire: permit input sequences (nw)
Diffstat (limited to 'plugins/autofire/init.lua')
-rw-r--r-- | plugins/autofire/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/autofire/init.lua b/plugins/autofire/init.lua index 1eb8627b494..da9a223faa4 100644 --- a/plugins/autofire/init.lua +++ b/plugins/autofire/init.lua @@ -24,7 +24,7 @@ function autofire.startplugin() local current_rom = nil local function process_button(button) - local pressed = manager:machine():input():code_pressed(button.key) + local pressed = manager:machine():input():seq_pressed(button.key) if pressed then local state = button.counter < button.on_frames and 1 or 0 button.counter = (button.counter + 1) % (button.on_frames + button.off_frames) |