SDL: Improve keyboard support.