i play GBA games on an emulator and the X key is equivalent to A and the Z key is equivalent to B
and i use a QWERTZ keyboard
and i actually really like it that way, since, for example, i won't accidentally boost in a racing game while holding the X ("A") key down