Created
July 29, 2020 14:07
-
-
Save SethDusek/4d1a437216b43c85552bb3d4d8c9b27f to your computer and use it in GitHub Desktop.
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
diff --git a/rivalcfg/__main__.py b/rivalcfg/__main__.py | |
index 9427a8c..b2f9897 100644 | |
--- a/rivalcfg/__main__.py | |
+++ b/rivalcfg/__main__.py | |
@@ -32,7 +32,7 @@ def _check_linux(): | |
print("\n Run 'rivalcfg --update-udev' as root to update.\n") | |
-def main(args): | |
+def main(): | |
# On Linux: check udev rules | |
_check_linux() | |
@@ -48,7 +48,7 @@ def main(args): | |
product_id=mouse.product_id) | |
cli.add_mouse_cli(cli_parser, mouse_profile) | |
- settings = cli_parser.parse_args(args) | |
+ settings = cli_parser.parse_args() | |
# Reset | |
if mouse and settings.RESET: | |
diff --git a/rivalcfg/devices/rival110.py b/rivalcfg/devices/rival110.py | |
index 7bb9b79..ee2e928 100644 | |
--- a/rivalcfg/devices/rival110.py | |
+++ b/rivalcfg/devices/rival110.py | |
@@ -11,10 +11,25 @@ profile = { | |
"name": "SteelSeries Rival 110", | |
"models": [{ | |
+ | |
"name": "SteelSeries Rival 110", | |
+ | |
"vendor_id": 0x1038, | |
+ | |
"product_id": 0x1729, | |
+ | |
+ "endpoint": 0, | |
+ | |
+ }, { | |
+ | |
+ "name": "SteelSeries Rival 106", | |
+ | |
+ "vendor_id": 0x1038, | |
+ | |
+ "product_id": 0x1816, | |
+ | |
"endpoint": 0, | |
+ | |
}], | |
"settings": { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment