I am currently working on a project where I would like to be able to send virtual retropad input to the game that’s currently running. Cores can be loaded and games can be run, so those are good.
How would I be able to send virtual controller inputs? More specifically, how can I send a specific button press to the game through the frontend?
I am looking at the API callbacks, but can’t figure out what I’m missing. I have a toggle variable that is returning 0 and 1 from the retro_input_state function.
retro_input_state_t and retro_input_poll_t.