kcms/gamecontroller: Fix getting the status of all the buttons
SDL maps each controller button with an id in the SDL_GameControllerButton enum, which are not necessarily in consecutive order. We need to store which buttons are present for the current device and then check the status based on the enum id.
Please register or sign in to comment