does anyone know how to detect button presses (like A,B,X,Y) using SDL?
I used a certain method (code below) to detect those buttons before but I tried to use the same method recently and it just doesn't do anything anymore. no button presses are being detected, and I'm not sure why button...