Bug 914459 - Use keyboard's basicLayoutKey if it is defined.