Fixed Windows compilation of Joystick interface (MSVC doesn't support C99 & the NAN macro).
Fixed Windows compilation of Joystick interface (MSVC doesn't support C99 & the NAN macro).

fizzaly/qgroundcontrol,TheIronBorn/qgroundcontrol,Hunter522/qgroundcontrol,catch-twenty-two/qgroundcontrol,RedoXyde/PX4_qGCS,cfelipesouza/qgroundcontrol,TheIronBorn/qgroundcontrol,sverling/qgc_asl,caoxiongkun/qgroundcontrol,nado1688/qgroundcontrol,dagoodma/qgroundcontrol,ethz-asl/qgc_asl,cfelipesouza/qgroundcontrol,hejunbok/qgroundcontrol,dagoodma/qgroundcontrol,greenoaktree/qgroundcontrol,devbharat/qgroundcontrol,josephlewis42/UDenverQGC2,nado1688/qgroundcontrol,remspoor/qgroundcontrol,LIKAIMO/qgroundcontrol,scott-eddy/qgroundcontrol,jy723/qgroundcontrol,fizzaly/qgroundcontrol,mihadyuk/qgroundcontrol,fizzaly/qgroundcontrol,dagoodma/qgroundcontrol,CornerOfSkyline/qgroundcontrol,lis-epfl/qgroundcontrol,RedoXyde/PX4_qGCS,fizzaly/qgroundcontrol,Hunter522/qgroundcontrol,josephlewis42/UDenverQGC2,greenoaktree/qgroundcontrol,LIKAIMO/qgroundcontrol,scott-eddy/qgroundcontrol,sverling/qgc_asl,hejunbok/qgroundcontrol,nado1688/qgroundcontrol,scott-eddy/qgroundcontrol,BMP-TECH/qgroundcontrol,LIKAIMO/qgroundcontrol,devbharat/qgroundcontrol,hejunbok/qgroundcontrol,BMP-TECH/qgroundcontrol,kd0aij/qgroundcontrol,caoxiongkun/qgroundcontrol,kd0aij/qgroundcontrol,catch-twenty-two/qgroundcontrol,BMP-TECH/qgroundcontrol,BMP-TECH/qgroundcontrol,lis-epfl/qgroundcontrol,greenoaktree/qgroundcontrol,cfelipesouza/qgroundcontrol,lis-epfl/qgroundcontrol,mihadyuk/qgroundcontrol,iidioter/qgroundcontrol,kd0aij/qgroundcontrol,ethz-asl/qgc_asl,greenoaktree/qgroundcontrol,cfelipesouza/qgroundcontrol,greenoaktree/qgroundcontrol,UAVenture/qgroundcontrol,dagoodma/qgroundcontrol,catch-twenty-two/qgroundcontrol,UAVenture/qgroundcontrol,Hunter522/qgroundcontrol,greenoaktree/qgroundcontrol,RedoXyde/PX4_qGCS,Hunter522/qgroundcontrol,ethz-asl/qgc_asl,iidioter/qgroundcontrol,dagoodma/qgroundcontrol,BMP-TECH/qgroundcontrol,RedoXyde/PX4_qGCS,caoxiongkun/qgroundcontrol,scott-eddy/qgroundcontrol,devbharat/qgroundcontrol,BMP-TECH/qgroundcontrol,ethz-asl/qgc_asl,TheIronBorn/qgroundcontrol,remspoor/qgroundcontrol,caoxiongkun/qgroundcontrol,iidioter/qgroundcontrol,remspoor/qgroundcontrol,josephlewis42/UDenverQGC2,caoxiongkun/qgroundcontrol,LIKAIMO/qgroundcontrol,josephlewis42/UDenverQGC2,CornerOfSkyline/qgroundcontrol,hejunbok/qgroundcontrol,CornerOfSkyline/qgroundcontrol,cfelipesouza/qgroundcontrol,devbharat/qgroundcontrol,lis-epfl/qgroundcontrol,UAVenture/qgroundcontrol,devbharat/qgroundcontrol,Hunter522/qgroundcontrol,scott-eddy/qgroundcontrol,lis-epfl/qgroundcontrol,sverling/qgc_asl,remspoor/qgroundcontrol,fizzaly/qgroundcontrol,CornerOfSkyline/qgroundcontrol,Hunter522/qgroundcontrol,kd0aij/qgroundcontrol,RedoXyde/PX4_qGCS,nado1688/qgroundcontrol,nado1688/qgroundcontrol,jy723/qgroundcontrol,LIKAIMO/qgroundcontrol,CornerOfSkyline/qgroundcontrol,hejunbok/qgroundcontrol,jy723/qgroundcontrol,TheIronBorn/qgroundcontrol,mihadyuk/qgroundcontrol,caoxiongkun/qgroundcontrol,hejunbok/qgroundcontrol,remspoor/qgroundcontrol,kd0aij/qgroundcontrol,LIKAIMO/qgroundcontrol,iidioter/qgroundcontrol,jy723/qgroundcontrol,TheIronBorn/qgroundcontrol,scott-eddy/qgroundcontrol,iidioter/qgroundcontrol,nado1688/qgroundcontrol,catch-twenty-two/qgroundcontrol,fizzaly/qgroundcontrol,dagoodma/qgroundcontrol,RedoXyde/PX4_qGCS,remspoor/qgroundcontrol,mihadyuk/qgroundcontrol,mihadyuk/qgroundcontrol,TheIronBorn/qgroundcontrol,catch-twenty-two/qgroundcontrol,ethz-asl/qgc_asl,jy723/qgroundcontrol,kd0aij/qgroundcontrol,UAVenture/qgroundcontrol,UAVenture/qgroundcontrol,jy723/qgroundcontrol,mihadyuk/qgroundcontrol,sverling/qgc_asl,UAVenture/qgroundcontrol,catch-twenty-two/qgroundcontrol,devbharat/qgroundcontrol,CornerOfSkyline/qgroundcontrol,sverling/qgc_asl,cfelipesouza/qgroundcontrol,iidioter/qgroundcontrol