input: autofire overhaul (#1091)

* frame-synchronized autofire, per-button rates, custom rates via mister.ini
* frame timer using core frame counter, fallback to timerfd
* improved button reference counting (previously limited to 2)
This commit is contained in:
Tony Toon
2026-01-21 23:07:44 -06:00
committed by GitHub
parent c397c9413d
commit 4d1a9fc2d3
15 changed files with 743 additions and 167 deletions

View File

@@ -29,6 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "menu.h"
#include "user_io.h"
#include "input.h"
#include "frame_timer.h"
#include "fpga_io.h"
#include "scheduler.h"
#include "osd.h"
@@ -83,6 +84,7 @@ int main(int argc, char *argv[])
}
user_io_poll();
frame_timer();
input_poll(0);
HandleUI();
OsdUpdate();