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:
2
main.cpp
2
main.cpp
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user