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

Support button click #2

Open
dereulenspiegel opened this issue Feb 25, 2020 · 2 comments
Open

Support button click #2

dereulenspiegel opened this issue Feb 25, 2020 · 2 comments

Comments

@dereulenspiegel
Copy link
Contributor

It would be really cool if this library would support "clickable" rotary encoders. The corresponding arduino library (like https://github.com/0xPIT/encoder/tree/arduino) supports detection of Click, DoubleClick, Held and Release.
If this is in the scope of this project, this would probably help a little bit in the transition from arduino to rust projects.

@leshow
Copy link
Owner

leshow commented Mar 4, 2020

Sure! I don't see why we couldn't support something like that. It might help to put it behind a feature gate.

@ahmedcharles
Copy link
Contributor

Note, clickable encoders use different pins to detect clicks than the ones used by the encoder, so I'm not sure there's much benefit to joining them. Also, there are encoders that have 5 switches (https://www.adafruit.com/product/5001) which would suggest having to support an arbitrary number of switches.

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

3 participants