xinput: Add length specification for DeviceClass struct

This commit is contained in:
Povilas Kanapickas 2021-07-30 22:48:48 +03:00
parent c36dde3f45
commit f0db8b7d31

View file

@ -1689,6 +1689,12 @@ authorization from the authors.
</struct>
<struct name="DeviceClass">
<length>
<op op="*">
<fieldref>len</fieldref>
<value>4</value>
</op>
</length>
<field type="CARD16" name="type" enum="DeviceClassType" />
<field type="CARD16" name="len" />
<field type="DeviceId" name="sourceid" />