How to play magicka 2 or other game with gamepad on yours PC

screenshot_1

1, Down­load TocaEd­it Xbox 360 Con­troller Emulator
http://www.x360ce.com/

2, Unpack and copy to fold­er with yours game, example :
2

3, Run x360.exe, and search auto­mat­ic set­ting for your gamepad
screenshot_2

4, After that,
4

5, Now you can play game on PC with your gamepad.