-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Only one device manageable at a time? #219
Comments
The CLI only supports one device: it is simple to implement this way (and it is rare to have multiple mice connected to a PC). However, it is possible to force which mouse is detected using the |
Thanks, looks like I can use |
All endpoints of the same device have the same But to list all available devices, please do not use the output of Instead you can use the Python API (you can call directly some Python code from the CLI): python -c "import json ; import rivalcfg.devices ; print(json.dumps(list(rivalcfg.devices.list_plugged_devices())))" This will give you a standard JSON output that will be easier to parse: [{"vendor_id": 4152, "product_id": 5929, "name": "SteelSeries Rival 110"}] |
Thanks, I'll do it this way then. |
Observation
I have connected 2 mice at the same time. Rival 110 and Rival 3
As seen in the output of
rivalcfg --help
, I only see options for Rival 3If I disconnect the Rival 3,
rivalcfg --help
will now show options for Rival 110, but it doesn't seem that I can do both at a time.Expectation
I was hoping to be able to do so for multiple supported devices at the same time, so that I could let the user check all of them on the fly (maybe in a tabbed or list format) in the GUI.
I am also hoping to be able to just invoke the CLI instead of having to invoke Python functions from the C++ code.
Is it possible to interface with multiple devices in such a way or would I have to look into the Python API?
Is it possible to trivially add the functionality if it is not there right now?
Is a GUI already under development? Where do I go for it?
Installation information
System information
The text was updated successfully, but these errors were encountered: