If the GamePad is initialised but buttons have been pressed since they were last processed, all the button presses will be in the event queue and will be processed before the actual 'real time' button presses can be done.
On initialisation, clear the event queue as it's not the true current state of the controller, and in case it contains commands that are dangerous/contrary to what the user wants
If the GamePad is initialised but buttons have been pressed since they were last processed, all the button presses will be in the event queue and will be processed before the actual 'real time' button presses can be done.
On initialisation, clear the event queue as it's not the true current state of the controller, and in case it contains commands that are dangerous/contrary to what the user wants