On Thu Jul 31 16:55:19 2025 +0000, Rémi Bernon wrote:
What is being tested is that:
IDirectInputDevice8_SetProperty( device, DIPROP_AUTOCENTER, DIPROPAUTOCENTER_OFF ) IDirectInputDevice8_Acquire( device )
Triggers `PID_USAGE_DC_DEVICE_RESET` + `PID_USAGE_DC_STOP_ALL_EFFECTS`, and that:
IDirectInputDevice8_SetProperty( device, DIPROP_AUTOCENTER, DIPROPAUTOCENTER_ON ) IDirectInputDevice8_Acquire( device )
Triggers `PID_USAGE_DC_DEVICE_RESET` only, and by default the device has the property set to `DIPROPAUTOCENTER_ON` (so `Acquire` will trigger the latter). And that seems to be the only effect of DIPROP_AUTOCENTER with the generic HID PID DInput driver. Of course, applications may also have different expectations for the reasons above if a vendor-specific DInput driver should be involved.
Hmm, so I wonder, why is there an issue now that in some games, the autocenter is turned on and never actually goes away though it works properly in windows, where the autocenter is disabled,