complete double-strike and use build-in ordered table together with binary search to accelerate translate_key_code function