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

Conditional touch features, fixes #74 #78

Merged
merged 2 commits into from
Apr 26, 2023

Conversation

ncmreynolds
Copy link
Contributor

Some ESP32 variants (C3 speciifcally) do not support touch inputs. The changes in this PR check for this rather than assuming all ESP32s support touch, before including these features.

Ensure touch features are only included on ESP32 variants that supports touch. Relies on include/soc/soc_caps.h in recent versions of the IDF
Add secondary way of detecting if touch is enabled, using the 'number of touch sensors'.
@evert-arias evert-arias merged commit a00856a into evert-arias:main Apr 26, 2023
ncmreynolds added a commit to ncmreynolds/EasyButton that referenced this pull request May 3, 2023
Merge pull request evert-arias#78 from ncmreynolds/main
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

Successfully merging this pull request may close these issues.

None yet

2 participants