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

Use a digit-only input for spool ID #28

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

Conversation

CompyENG
Copy link

Sets spool ID field to input type DIGIT and adds support in the on-screen keyboard for this input type. They on-screen keyboard can now display a number pad instead of the standard keyboard if the widget requesting the keyboard has input type DIGIT.

I got tired of having to press another button and navigate the number row on the on-screen keyboard. The existing KlipperScreen keyboard didn't support any InputType hinting. Special layout behavior was added for the DIGIT input type so that columns are aligned properly (instead of being offset like the normal keyboard).

It looks like this:
image

Sets spool ID field to input type DIGIT and adds support in the
on-screen keyboard for this input type.  They on-screen keyboard can now
display a number pad instead of the standard keyboard if the widget
requesting the keyboard has input type DIGIT.
@moggieuk
Copy link
Owner

moggieuk commented Sep 3, 2024

Hi, this is a great addition, but really this is a change the the base Klipperscreen. Can you also submit this PR to the upstream klipperscreen so I don't have to continually keep in sync. I think it will be welcomed, but if not, leave the PR hear and I can consider..

@CompyENG
Copy link
Author

CompyENG commented Sep 4, 2024

Hi, this is a great addition, but really this is a change the the base Klipperscreen. Can you also submit this PR to the upstream klipperscreen so I don't have to continually keep in sync. I think it will be welcomed, but if not, leave the PR hear and I can consider..

Yup, fair enough! I sent in a PR to upstream KlipperScreen. If that gets accepted, I can update this one to be just the one-line change in mmu_filaments.py

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.

2 participants