Button Library Update

Hello, I used 'Button' library for my DIY project and extended with new possibilities. I already send this info for library writer but no response.

Extended version have new methods

button.subscribeOnClick(onClick);
button.subscribeOnUnClick(onUnClick);
button.subscribeOnPressed(300, onPressed);
button.subscribeOnPressedMoreThan(1300, onPressedMoreThan);

now u can delegate call of specific method to specific button event. It need for more complex button navigation and cases then button make more than one job :slight_smile:

I don't know if it needed for other and how can I share it. What you think about this guys ?

ZhenyaUALviv:
how can I share it.

The most common way to do this currently is in a fork on GitHub. So you would need to:

You may also decide to submit a pull request to the original repository with your changes. It's not certain that the pull request will be merged but if not people may still see the pull request and decide they like your changes and want to use your fork of the library instead of the original. If you don't want to submit a pull request or the repository owner says they are not interested in merging your pull request then you should change the name of your repository and reflect the name change in the library files as necessary to differentiate your fork from the original library.