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

feat: potentiometer toggle in rules.mk #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lesshonor
Copy link

@lesshonor lesshonor commented May 18, 2023

It's easier for me to explain this in a PR than in the comments of your PR, especially since it involves creating a new post_rules.mk file.

These changes allow your users to enable or disable the potentiometer by setting POT_ENABLE = yes (or POT_ENABLE = no) in their own keymap's rules.mk file.

Only if the user has enabled the potentiometer does the build then include analog.c -- it isn't needed otherwise. This saves space.

I don't think any of what you've got now is wrong (though you have submitted it on your master branch, which means you will need to jump through some hoops later) ...but this will make it better.

...Just be aware that based on how long the line is, I have no idea if you'll make it before the breaking changes cutoff at the end of the month. If not, you'll probably be asked to make some changes to the RGB config and the encoders.

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.

1 participant