Skip to content

Autofire controls override joypad.set #4769

Description

@SuuperW

Summary

Autofire inputs override buttons being unheld by Lua's joypad.set.

Repro

  1. Open a ROM
  2. In Config -> Controllers... -> Autofire Controls, bind a button to a keyboard key. For example, bind the "A" button to the "D" key.
  3. Open the Lua Console
  4. Ensure the game is paused
  5. In the Lua Console's input box, set the button to false with joypad.set. For example, joypad.set({A = false})
  6. Select the main form
  7. Ensure input display is turned on (View -> Display Input)
  8. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions