(retroarch-qt) Fix keyboard and joypad input