mathertel / OneButton

An Arduino library for using a single button for multiple purpose input.
http://www.mathertel.de/Arduino/OneButtonLibrary.aspx
Other
954 stars 230 forks source link

Request to bring back attachPressStart event #99

Closed perkinsinnovation closed 10 months ago

perkinsinnovation commented 2 years ago

I'd like to request that the attachPressStart event be added back to the next release.

I used this for various things through out my code, and I'll have to go back to an older version for now.

Thanks in advance for all of your hard work!

DanBradshaw commented 2 years ago

Hi, just wanted to add a +1 to this request. The click function seems to act on button release, not press. Thanks for all your work on this!

mathertel commented 10 months ago

On the first button press it is not yet possible to determine what kind of activity will happen. See also #128