Skip to content

feat: add device_features to automatically determine what is supported. #365

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

Merged
merged 4 commits into from
Aug 9, 2025

Conversation

Lash-L
Copy link
Collaborator

@Lash-L Lash-L commented Apr 10, 2025

This is a long change so i am separating it from the other PR. Basically just a bunch of mathematical calculations to determine what is supported.

@Lash-L Lash-L requested a review from allenporter April 10, 2025 13:48
@Lash-L
Copy link
Collaborator Author

Lash-L commented Apr 10, 2025

ignore ci error - will fix when i squash

@Kranzes
Copy link
Contributor

Kranzes commented Jun 11, 2025

Will this help with automatically exposing all the supported features and options like mopping modes for currently unsupported devices like the Saros 10?

Copy link
Contributor

@allenporter allenporter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fantastic, minor comments but looks good to go.

try:
l = o % 4
target_index = -((o // 4) + 1)
p = new_feature_info_str[target_index]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we convert the string to a number then do a bit check?

Copy link
Contributor

@allenporter allenporter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given this is not yet used, feel free to submit and we can increase test coverage as we go.

@Lash-L
Copy link
Collaborator Author

Lash-L commented Aug 8, 2025

Made some changes to match that the data actually comes from init app status

Had to rework logic as there were some false assumptions.

Also pulled it out of containers as to not crowd that file.

@Lash-L Lash-L requested a review from allenporter August 8, 2025 19:38
@Lash-L Lash-L merged commit c6ba0d6 into main Aug 9, 2025
5 of 6 checks passed
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.

3 participants