You're plugging and unplugging joysticks or your PC is doing so on your behalf. You should find that if you start the game, set the axes, and immediately quit and restart that the axes are saved.