idz, idac, swdc: added FFB centering spring feature

This commit is contained in:
2023-12-11 19:18:25 +01:00
parent 4ffcf25555
commit 72db08ac93
18 changed files with 147 additions and 43 deletions

View File

@ -79,6 +79,14 @@ void idac_di_config_load(struct idac_di_config *cfg, const wchar_t *filename)
cfg->gear[i] = GetPrivateProfileIntW(L"dinput", key, i + 1, filename);
}
// FFB configuration
cfg->center_spring_strength = GetPrivateProfileIntW(
L"dinput",
L"centerSpringStrength",
30,
filename);
}
void idac_xi_config_load(struct idac_xi_config *cfg, const wchar_t *filename)