Summary
Autofire inputs override buttons being unheld by Lua's joypad.set.
Repro
- Open a ROM
- In Config -> Controllers... -> Autofire Controls, bind a button to a keyboard key. For example, bind the "A" button to the "D" key.
- Open the Lua Console
- Ensure the game is paused
- In the Lua Console's input box, set the button to false with joypad.set. For example,
joypad.set({A = false})
- Select the main form
- Ensure input display is turned on (View -> Display Input)
- Press the key configured for autofire. ("D" in this example)
Output
Observe that the autofire button is held.
Host env.
Bizhawk 2.11.1 and master branch, Windows 11
Summary
Autofire inputs override buttons being unheld by Lua's
joypad.set.Repro
joypad.set({A = false})Output
Observe that the autofire button is held.
Host env.
Bizhawk 2.11.1 and master branch, Windows 11