it always happen to me too.. and until now i solve this problem with my own trial and its work. but still annoying if happens too much
what u hav to do is go to options -> go into games option section -> then mark / unmark toggle joystick box.. after that u will find ur joystick back to normal function
hope this will help u.. while we juz can waiting sts to fix this prob someday