remove the explicit SDL dependency for keycodes

introduce an EON keycode list and a mapping from/to SDL
to achieve better encapsulation.