there's no need for y'all to do a lot of work on hacking your game such change your control configuration file and make binding of it, the result is your game will crash..! . as we know some game has two fixed control configuration like keyboad and for joystick tht you won't be able to changed them.
I found some cheap tool tht might help this problem..most important Just use joystick..
Joytokey (250 KB)
http://www.mediafire.com/file/aywhwdthmwt/JoyToKey.rar
how to use it:
-Just put joytokey folder to your game directory.
-open joytokey(Remember, always open this with the game)
Just replace those fixed keyboard setting with your own preferred key bindings..
oh yeah btw, i had include my custom button configure if you wanna play it with your cheap joystick(not xbox controller). enjoy