add monitor detection fallback to skip cap check#102
Merged
max-baz merged 3 commits intomax-baz:mainfrom Mar 30, 2024
Merged
Conversation
Owner
|
Hahaha thanks 😁 Most importantly, do you confirm that this trick solves the issue with your monitors? Just to be sure 😄 |
Owner
|
While I totally agree with "twice is not duplication", rust is very pleasant language to build abstractions on 😁 What do you think about the idea I just pushed? And does it actually work? 😅 |
Contributor
Author
|
Oh, your approach is much better! That's pretty much what I was thinking would be the best solution but I didn't quite know how to implement it. I can confirm that Ignoring all the DDC/CI errors of course, it can read brightness changes from both monitors. |
Owner
|
That's awesome! Glad that we are on the same page, and that it works as expected, merging then, and thanks for all your help! 🙏 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #101
I'm a total Rust newb - if there's a better way to do this let me know. I basically copied everything from
find_display_by_nameand skipped the capabilities check. Not the prettiest but it's only twice.Personally, I'm a fan of "twice is not duplication" ;)