Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

attachPressStart removed, attachLongPressStart can be used instead, but how?? #116

Closed
ewidance opened this issue Feb 4, 2023 · 1 comment

Comments

@ewidance
Copy link

ewidance commented Feb 4, 2023

Changelog for 2.0.0 says: "The function attachPressStart() is removed as attachLongPressStart() does the same but also supports parameters.". Ok, but i can't figure out the way i could remplace attachPressStart with an attachLongPressStart, and how parameters could help.

See for example code in https://github.com/maestun/zoom-multistomp-patch-changer/blob/master/zoom-multistomp-patch-changer.ino#L100

Any example to replace that?

Thanks a lot! JPC

@mathertel
Copy link
Owner

just use button.attachLongPressStart(...) instead of button.attachPressStart(...)

I hope that help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants