You have to check the keys, but some engines, like Unity, allow key mapping based on the physical location on the keyboard rather than the character. Otherwise, for AZERTY, the mapping would be: W -> Z, A -> Q