-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
Multiple device support #382
base: master
Are you sure you want to change the base?
Conversation
Thank you! Some points for now:
|
Ok, didn't checked that...
You mean to add it to the curernt list of connected devices?
Maybe an hybrid solution where you can use both of them would be also better... Question: Which |
Yes thats what I mean. That both Line 72 in 689c1fc
Yes, when the parameter is provided.
Basically there is no sense in choosing the interface, its already given by the device implementation |
Running tests locally gives no errors. |
Missed that... |
0a7fb6c
to
dea163b
Compare
dea163b
to
855b7df
Compare
Will take a deeper look into the PR over the holidays |
One thing still missing/bugs:
That is to query all devices including features. However it seems to be missing features like battery if deviceid is not specified. For example here it shows the battery of the test device but not of the corsair device
|
It Is actually a missing implementation, it displays the values only for the selected device spicefied by |
@Sapd I'm thinking about a solution that if you use -d it displays, loads, and also sends action, only the selected device.... if not, no action will be performed, but all devices infos will be shown.... do you like that? |
Sounds interesting, but what about making it this way: |
I’m not sure about querying all compatible devices. It might unintentionally alter the settings of other connected headphones, if someone has more of them...
Seems doable to me... |
I'm also thinking of removing the
What do you think about that? |
Good points! I agree
Why so? its only about querying (and on top only devices which are implemented in HeadsetControl). Basically Im thinking about that in accordance: https://github.com/Sapd/HeadsetControl/wiki/API-%E2%80%90-Building-Applications-on-top-of-HeadsetControl#querying-values I highly appreciate your work btw (I just need a bit of time to answer currently) |
I'm glad to hear that :)
Just to get me clear, you mean to query only informations like |
5227a17
to
3eed0e1
Compare
3eed0e1
to
c92ea25
Compare
Changes made
Added multiple device support with command arg -d, --device INDEX
Actions can be executed only to one device at a time
Checklist