tools: fix bug in scan-registers
This commit is contained in:
parent
90a0408bd6
commit
253930d628
|
@ -158,7 +158,7 @@ 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 args.hidpp:
|
||||
if False and args.hidpp:
|
||||
if _hid.get_manufacturer(handle) != b'Logitech':
|
||||
sys.exit('!! Only Logitech devices support the HID++ protocol.')
|
||||
print('.. HID++ validation enabled.')
|
||||
|
|
|
@ -14,8 +14,7 @@ fi
|
|||
HIDRAW=$2
|
||||
|
||||
do_req() {
|
||||
## "$HC" $HIDRAW
|
||||
"$HC" $HIDRAW | grep -v "^<< " | grep -v "\[1. .. 8F.. "
|
||||
"$HC" --hidpp $HIDRAW | grep "^>> " | grep -v "\[1. .. 8F.. "
|
||||
}
|
||||
|
||||
req00="$(mktemp --tmpdir req00-XXXXXX)"
|
||||
|
|
Loading…
Reference in New Issue