Rémi Bernon (@rbernon) commented about dlls/dinput/mouse.c:
return DI_OK;
}
+static BOOL init_object_properties( const DIDEVICEOBJECTINSTANCEW *instance, void *data ) +{
- struct mouse *impl = (struct mouse *)data;
- struct object_properties *properties = impl->base.object_properties + instance->dwOfs / sizeof(LONG);
- properties->range_min = DIPROPRANGE_NOMIN;
- properties->range_max = DIPROPRANGE_NOMAX;
- /* The z-axis (wheel) has a different granularity */
- if ( instance->dwOfs == DIMOFS_Z )
Mind removing the spaces in the if paren there?
From a very quick glance it looks good otherwise, except for the pipeline failure.