raphaelgoulart / ya_inputdisplay

Yet another input display for Clone Hero / YARG
16 stars 3 forks source link

Fix Duplicate Inputs on LPs (and possibly other controllers) aswell as additons to gitignore #11

Closed SkyJumper409x closed 3 months ago

SkyJumper409x commented 3 months ago

Added a check in the _input method that prevents a gamepad input from registering if another gamepad input with the same button index has been registered on this frame already. This is intending to fix #9.

I also added more cache folders to the gitignore, that is related to #7

(couldve done this in two commits but womp womp)

raphaelgoulart commented 3 months ago

This one I'll have to properly test and double-check, some guitars overtap and I don't want this to accidentally hide that (I don't think it will since it just avoids double inputs on the exact same frame, just wanna be sure)

Fix is appreciated though! Will merge if all's good.

SkyJumper409x commented 3 months ago

yeye that is a good thing to test for i didn't know that was a thing i tested strumming and fretting on various fps and made sure pressing two different buttons at the same time cant cause issues.