hidparse.sys: Ignore unknown item types, rather than failing.
Some DS4 controllers have a trailing NUL byte when accessed over bluetooth. This causes parse_descriptor to return an error where we can instead ignore it. Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e5c8c61507
commit
6d307e2a64
|
@ -628,7 +628,7 @@ struct hid_preparsed_data *parse_descriptor( BYTE *descriptor, unsigned int leng
|
||||||
|
|
||||||
default:
|
default:
|
||||||
FIXME( "item type %x not implemented!\n", *ptr );
|
FIXME( "item type %x not implemented!\n", *ptr );
|
||||||
goto done;
|
break;
|
||||||
}
|
}
|
||||||
#undef SHORT_ITEM
|
#undef SHORT_ITEM
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue