gateway: keyboard selection [jkx].