to provide sprintf_s and others when building with mingw32.
joystick class, and put a header in each source file.