If the simulation is shoddy it’s even more infuriating though.
On MacOS if I remap a key, it gets remapped for everything. I suppose the remapping is done before applications get the keystroke. Even if I connect to a remote computer, it’s getting the remapped keystroke.
On Linux, it’s just locally. On a remote system, the original keystroke is passed. The only way to get around that is with a programmable keyboard. But then your laptop keyboard doesn’t work the way you expect.