use video size reported by retro_system_av_info()
added keyboard support