This extremely simple guide will teach you how to emulate an xbox360 controller, because IV fully supports only that. Now, you can use any controller you wish, granted, it has directinput support. (unsure about wheel and pedals).
1) Download the following archive.
2) Unpack the xinput9_1_0.dll and the xbox360cemu.ini from the archive into your gta4 dir. Optionally, unpack XInputTest.exe to play with the button assignments.
3) Edit the .ini according to your personal controller, or however you may please. The .ini is initially set up to work 100% correctly with Logitech RumblePad 2.
4) Make sure there is no -directinput in your commandline.txt
Note: in order to understand how to edit key mappings, read the included readme.txt.
Q: Is my controller working with this hook?
A: If it supports directinput, it probably does.
Q: My xxx and xxx are reversed, what should I do? How do I fix it?
A: Edit the xbox360emu.ini and use the XInputTest.exe to test your changes - no need to load GTA4 to test whethere you've set up the controller correctly.
Q: My question is not in this FAQ!!
A: Read the readme.txt and the comments in xbox360emu.ini. If that does not answer your question, only then try to get help in this topic.
Last updated: March 7th, 2009.
DLL coding by Racer_S.
Guide by CatZilla.
Edited by DexX, 09 March 2009 - 07:34 AM.