Rémi Bernon (@rbernon) commented about dlls/winebus.sys/hid.c:
{
INPUT(1, Cnst|Ary|Abs),
};
if (!hid_device_add_hatswitch_count(iface, count)) return FALSE;
- return hid_report_descriptor_append(desc, template, sizeof(template));
- ret = hid_report_descriptor_append(desc, template, sizeof(template));
- if (ret && count % 2) {
ret = hid_report_descriptor_append(desc, template_pad, sizeof(template_pad));
iface->hid_device_state.bit_size += 4;
- }
- return ret;
Lets keep the style consistent.
```suggestion:-7+0 if (!hid_report_descriptor_append(desc, template, sizeof(template))) return FALSE;
if ((count % 2) && !hid_report_descriptor_append(desc, template_pad, sizeof(template_pad))) return FALSE;
return TRUE; ```