For example, you can connect the old game pad or any other controller, and make a homemade gamepad from Arduino. Also can be used to intercept the vibration of the library.
The most compatible way is to intercept the XInputGetState function. You can intercept it using this DLL (https://github.com/r57zone/XInputInjectDLL) and an injector (https://github.com/r57zone/X360Advance#setup-first-method-recommended).
There is also such a way: after compiling renamed file to "xinput1_3.dll", copy the folder with the game or in "C:\Windows\System32". XInput library files exist with several different names and some games require a change in its name. Known names:
- xinput1_4.dll (Windows 8 / metro apps only)
- xinput1_3.dll
- xinput1_2.dll
- xinput1_1.dll
- xinput9_1_0.dll
Например, можно подключить старый геймпад или любой другой контроллер, а также сделать самодельный геймпад из Arduino. Также с помощью библиотеки можно перехватить вибрацию.
Наиболее совместимым способом является перехват функции XInputGetState. Перехватывать её можно, с помощью вот этой DLL (https://github.com/r57zone/XInputInjectDLL) и инжектора (https://github.com/r57zone/X360Advance/blob/master/README.RU.md#настройка-первый-способ-рекомендуется).
Также существует такой способ: после компиляции нужно переименовать файл в "xinput1_3.dll", скопировать в папку с игрой или в "C:\Windows\System32". Xinput библиотеки существуют с несколькими разными именами и некоторые игры требуют другое имя. Известные имена:
- xinput1_4.dll (Windows 8 / приложения metro)
- xinput1_3.dll
- xinput1_2.dll
- xinput1_1.dll
- xinput9_1_0.dll