Added more controller options to idzio

Add axis reversal for dinput and single stick steering for xinput.
This commit is contained in:
85be42b2ce67a8e34b32793360824b056c0c2444
2019-11-22 00:59:08 +00:00
committed by da5669c09fdb0a288ba01e259a609d7779ac7fc9
parent 4bc7eee909
commit 5b50824e2f
7 changed files with 91 additions and 6 deletions

View File

@ -30,7 +30,7 @@ HRESULT idz_io_jvs_init(void)
if (wstr_ieq(idz_io_cfg.mode, L"dinput")) {
hr = idz_di_init(&idz_io_cfg.di, idz_io_hmodule, &idz_io_backend);
} else if (wstr_ieq(idz_io_cfg.mode, L"xinput")) {
hr = idz_xi_init(&idz_io_backend);
hr = idz_xi_init(&idz_io_cfg.xi, &idz_io_backend);
} else {
hr = E_INVALIDARG;
dprintf("IDZ IO: Invalid IO mode \"%S\", use dinput or xinput\n",