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

examples/web/async.py: make use of improved controls #27

Open
otaku42 opened this issue May 19, 2023 · 0 comments
Open

examples/web/async.py: make use of improved controls #27

otaku42 opened this issue May 19, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@otaku42
Copy link
Owner

otaku42 commented May 19, 2023

Falling back onto LegacyControls fixed the issue reported by @tiagocoutinho. However, that solution prevents leaveraging the improvements of the control API, which would allow stuff like:

  • add a button to reset all controls to their default (using Controls method set_to_default)
  • grey out inactive controls (using the is_writeable property of each control)
  • use the config_name property of each control rather than their numerical id to reference controls in GET/PUT requests. which could help a bit to better understand what's going on in the log
  • allow to save the current settings, and load and apply previously saved control settings (using the stuff in Support for configuration files tiagocoutinho/v4l2py#43)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant