Some emulators allow you to remap the keys (usually using menus or config/ini files). Obviously these don't cause a problem...
If the emulator does not allow for key remapping, you're in trouble. One way is to remap your keyboard encoder (if you use one, and it it can be reprogrammed). Another way is to hack the emulator - could be tricky...