Map JS keycodes to SDL keycodes