Skip to content

Autofire Overhaul #1062

@tonytoon

Description

@tonytoon

I've been working on the autofire system and wanted to get some feedback on my proposed changes as I work towards implementing them.

Done:

  • Display which buttons currently have autofire enabled anytime autofire is toggled for any button. Helps identify accidental activations of autofire.
  • Calculate and display autofire in hertz rather than milliseconds to better match how hardware devices and emulators present the information.
  • Allow defining custom autofire rates in mister.ini, with sane defaults if nothing is entered.

TODO:

  • Per-button autofire rates. This has been a frequent ask I've seen from users in the shooting game community and the way I've rewritten autofire timing it should not be very complicated.
  • I propose that we have two autofire rates by default (low and high) and pressing menu/osd while holding a button steps through them. This would be the most discoverable and least disruptive for users since it would visually indicate what is happening when they press a button combo they already use for autofire.
  • Advanced users could take advantage of the custom autofire rates in mister.ini I've already implemented if low/high or the specific rates are insufficient.
  • Remove left/right + menu/osd as a way to change global autofire rates. Users (or at least I) tend to hit that on accident and simply stepping each button through off/low/high would replace that functionality.

Thoughts? On the backend I've implemented a single 60hz timer for autofire which would make handling per-button rates straightforward and still easy to read.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions