Group move keys in key codes