tools: permit BT devices for hidconsole with hidpp
This commit is contained in:
parent
c77b2a413f
commit
485596cbf3
|
@ -158,8 +158,8 @@ def _open(args):
|
|||
'.. Opened handle %r, vendor %r product %r serial %r.' %
|
||||
(handle, _hid.get_manufacturer(handle), _hid.get_product(handle), _hid.get_serial(handle))
|
||||
)
|
||||
if False and args.hidpp:
|
||||
if _hid.get_manufacturer(handle) != b'Logitech':
|
||||
if args.hidpp:
|
||||
if _hid.get_manufacturer(handle) is not None and _hid.get_manufacturer(handle) != b'Logitech':
|
||||
sys.exit('!! Only Logitech devices support the HID++ protocol.')
|
||||
print('.. HID++ validation enabled.')
|
||||
else:
|
||||
|
|
|
@ -307,7 +307,7 @@ _D('G500s Gaming Mouse', codename='G500s Gaming', usbid=0xc24e, interface=1, pro
|
|||
_D('G502 Proteus Spectrum Optical Mouse', codename='G502 Proteus Spectrum', usbid=0xc332, interface=1)
|
||||
_D('Logitech PRO Gaming Keyboard', codename='PRO Gaming Keyboard', usbid=0xc339, interface=1)
|
||||
|
||||
_D('Logitech MX Revolution Mouse M-RCL 124', codename='M-RCL 124', usbid=0xb007, interface=1)
|
||||
_D('Logitech MX Revolution Mouse M-RCL 124', codename='M-RCL 124', btid=0xb007, interface=1)
|
||||
|
||||
# Trackballs
|
||||
|
||||
|
|
Loading…
Reference in New Issue