Merge pull request #5 from rootkiwi/master

Add support for BlackWidow Ultimate 2012
This commit is contained in:
Martchus 2020-05-04 17:39:46 +02:00 committed by GitHub
commit 4d728f1bf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -13,6 +13,7 @@ The script is known to work with the following BlackWidow editions:
- regular edition (the ceapest one which has no background light) - regular edition (the ceapest one which has no background light)
- the regular 2013 edition - the regular 2013 edition
- BlackWidow Ultimate Stealth 2014 - BlackWidow Ultimate Stealth 2014
- BlackWidow Ultimate 2012
If you can confirm that those or other devices work or don't work, let me now by editing this file. If you can confirm that those or other devices work or don't work, let me now by editing this file.

View File

@ -11,13 +11,15 @@ USB_VALUE = 0x0300
USB_INDEX = 0x2 USB_INDEX = 0x2
USB_INTERFACE = 2 USB_INTERFACE = 2
VENDOR_ID = 0x1532 # Razer VENDOR_ID = 0x1532 # Razer
PRODUCT_ID_BLACK_WIDOW = 0x010e # BlackWidow PRODUCT_ID_BLACK_WIDOW = 0x010e # BlackWidow
PRODUCT_ID_BLACK_WIDOW_ULTIMATE = 0x011a # BlackWidow Ultimate PRODUCT_ID_BLACK_WIDOW_ULTIMATE = 0x011a # BlackWidow Ultimate
PRODUCT_ID_BLACK_WIDOW_2013 = 0x011b # BlackWidow 2013/2014 PRODUCT_ID_BLACK_WIDOW_ULTIMATE_2012 = 0x010d # BlackWidow Ultimate 2012
PRODUCT_ID_BLACK_WIDOW_2013 = 0x011b # BlackWidow 2013/2014
PRODUCTS = [("Black Widow", PRODUCT_ID_BLACK_WIDOW), PRODUCTS = [("Black Widow", PRODUCT_ID_BLACK_WIDOW),
("Black Widow Ultimate", PRODUCT_ID_BLACK_WIDOW_ULTIMATE), ("Black Widow Ultimate", PRODUCT_ID_BLACK_WIDOW_ULTIMATE),
("Black Widow Ultimate 2012", PRODUCT_ID_BLACK_WIDOW_ULTIMATE_2012),
("Black Widow 2013/2014", PRODUCT_ID_BLACK_WIDOW_2013)] ("Black Widow 2013/2014", PRODUCT_ID_BLACK_WIDOW_2013)]
LOG=sys.stderr.write LOG=sys.stderr.write