News for hackers. Stuff that matters.
Re:Why keyboard shortcuts don't work on non-US layouts and h... by kps on Thursday April 08, 2021 @11:13PM (#26746313)
Yes, the UI Events ‘code’ field represents the physical key (essentially 1:1 with USB hardware codes). The key that's labelled ‘W’ on a US keyboard and ‘Z’ on a French keyboard and ‘Ц’ on a Russian keyboard and ‘て’ on a Japanese keyboard (and so on) will have code=="KeyW" in all cases.

There are no comments on this comment yet.