Visual studio automatically reformats this file for me
Ensure that when generating changes between the last joystick state and the current one that we actually compare button states. This causes another bug with the joystick axis frequently becoming selected, which will be fixed in a further commit