Turbo Button line #425
Replies: 1 comment 4 replies
-
The simplest way would be to add some code in this function to toggle the state of the button on/off every time an input report is received. This would require also storing the previous button state. Something like
@Banz99 has done some experiments with this, but I'm not sure he's made anything public. It works with the controllers he has, however I'm not totally convinced it's the right approach given that the rate of button state switching is highly dependent on the rate that the controller is sending updates. This would mean that some controllers may be able to turbo faster than others, and these differences could also be affected by the rate at which a given games polls for inputs. I'm also pretty sure that there are controllers out there that only send input reports when the the state of the inputs actually changes, rather than a constant stream. Such controllers could not work at all with the above approach. These inconsistencies are the main reason I haven't considered such a feature for inclusion in a release so far. |
Beta Was this translation helpful? Give feedback.
-
What would a line to make a button repeat itself look like? I'm trying to add one so when I hit (A) ones, it will be pressed many times in a short time.
Beta Was this translation helpful? Give feedback.
All reactions