fluffymadness / ATMega32U4-Switch-Fightstick

ATMega32U4-Switch-Fightstick
64 stars 15 forks source link

Programmatically trigger buttons #5

Open bobbbob opened 2 years ago

bobbbob commented 2 years ago

I was hoping someone could point out to me the functions that I could use to trigger a button programmatically. I’ve attempted a few ways I thought would work but to no avail.

My background is in ObjC so possibly it’s my lack of understanding in some key differences that’s holding me back.

Edit: Just in case I left that a little ambiguous, I am looking for the ability to trigger the action of a button pressed without the need for the physical button. For example when another condition is met within an if statement.