Refactor input_joypad_pressed somewhat