OneButton icon indicating copy to clipboard operation
OneButton copied to clipboard

An Arduino library for using a single button for multiple purpose input.

Results 31 OneButton issues
Sort by recently updated
recently updated
newest added

Hi, I have added a new callback to the system. It is called when the user presses the desired amount of buttons. Here is the example usage : ``` #include...

Feature request to supplement the callback model with an explicit call model. The callback model as implemented in this library is useful in that it allows the user specifies a...

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...

OneButton(pin, true, true) supports only pull-ups, but some chips (notably the ESP32) offer pull-down as well. Is there any other method I couldn't find or are users limited to only...

See https://github.com/danmar/cppcheck/ or https://cppcheck.sourceforge.io/ for more info about cppcheck ~~and for the github action:~~ ~~https://github.com/marketplace/actions/cppcheck-action~~ I excluded the "knownConditionTrueFalse" in the suppressions.txt file. May want to look into that.

needs rework
CI/CD

getPressedTicks() Does not seem to exist?

Currently, to achieve the long press you need to press the button and hold it pressed for sufficient time. The long press event is triggered after you release the button....

I'm trying to set up multiple shows that change on a button (Button1) press, but one of the shows is a counter that counts from 00-99 on different button (Button2)...

Installation works as noted in #11 , but it seems to be very outdated at version `0.0.0-alpha+sha.eb583d713a`: https://platformio.org/lib/show/1260/OneButton/installation

Is it possible to set the interval for the attachDuringLongPress event? I use two buttons to increase or decrease a number on a display. I use the same function for...