device: add support for the PRO X Wireless mouse
This commit is contained in:
parent
138fe4c756
commit
10d6a98ca1
|
@ -21,7 +21,7 @@
|
|||
## USB product IDs for receivers: 0xC526 - 0xC5xx
|
||||
## Wireless PIDs for hidpp10 devices: 0x2006 - 0x2019
|
||||
## Wireless PIDs for hidpp20 devices: 0x4002 - 0x4097, 0x4101 - 0x4102
|
||||
## USB product IDs for hidpp20 devices: 0xC07D - 0xC093, 0xC32B - 0xC344
|
||||
## USB product IDs for hidpp20 devices: 0xC07D - 0xC094, 0xC32B - 0xC344
|
||||
## Bluetooth product IDs (for hidpp20 devices): 0xB012 - 0xB0xx, 0xB32A - 0xB3xx
|
||||
|
||||
# USB ids of Logitech wireless receivers.
|
||||
|
@ -203,7 +203,7 @@ def other_device_check(bus_id, vendor_id, product_id):
|
|||
if vendor_id != 0x46d: # Logitech
|
||||
return
|
||||
if bus_id == 0x3: # USB
|
||||
if (product_id >= 0xC07D and product_id <= 0xC093 or product_id >= 0xC32B and product_id <= 0xC344):
|
||||
if (product_id >= 0xC07D and product_id <= 0xC094 or product_id >= 0xC32B and product_id <= 0xC344):
|
||||
return _wired_device(product_id, 2)
|
||||
elif bus_id == 0x5: # Bluetooth
|
||||
if (product_id >= 0xB012 and product_id <= 0xB0FF or product_id >= 0xB32A and product_id <= 0xB3FF):
|
||||
|
|
|
@ -580,6 +580,15 @@ _D('G900 Chaos Spectrum Gaming Mouse', codename='G900', usbid=0xc081)
|
|||
_D('G903 Lightspeed Gaming Mouse', codename='G903', usbid=0xc086)
|
||||
_D('G903 Hero Gaming Mouse', codename='G903 Hero', usbid=0xc091)
|
||||
_D('GPro Gaming Mouse', codename='GPro', usbid=0xc088)
|
||||
_D(
|
||||
'PRO X Wireless',
|
||||
kind='mouse',
|
||||
codename='PRO X',
|
||||
protocol=4.2,
|
||||
wpid='4093',
|
||||
usbid=0xc094,
|
||||
)
|
||||
|
||||
_D('M500S Mouse', codename='M500S', usbid=0xc093, interface=1)
|
||||
|
||||
_D(
|
||||
|
|
Loading…
Reference in New Issue