Keyboard coding/layout not recognized

Thanks! I’ll explain a bit why I asked. So, there is a difference in how keys are registered between PsychoPy and PsychoJS. We can’t just change this, since it could break existing experiments. A nice approach could be to support both the key entities that PsychoJS returns and the actual keys that PsychoPy returns. You’d need to specify somewhere which one you want, and I’m thinking about the best way for doing that.

BTW, this could take a while to implement. Doing some Googling, I did notice there could be browser feature we might be able to use as a quick fix, but it’s only supported by Chrome and Edge. Could this help you out on the short term? https://developer.mozilla.org/en-US/docs/Web/API/Keyboard/getLayoutMap