News for hackers. Stuff that matters.
Re:The plague of emoji insertion in French docs by WA on Monday November 14, 2022 @12:16PM (#33597386)
Every small indie game ever: action buttons are x and z.

Guess what, y and z are swapped on a German keyboard.

Re:The plague of emoji insertion in French docs by amadeuspagel on Monday November 14, 2022 @12:23PM (#33597487)
That's an illustration that the problem is not so easy.

What your parent comment complains about is that the keyboard shortcut is based on the location of the key, and not the letter.

What you complain about is that the keyboard shortcut is based on the letter, and not the location.

Obviously, these complaints don't contradict each other, both make sense in different circumstances. But figuring that out requires awareness of different keyboard layouts, and of the difference between KeyboardEvent.code (location) and KeyboardEvent.key (letter).

Re:The plague of emoji insertion in French docs by runarberg on Monday November 14, 2022 @01:57PM (#33599045)
Give the actions appropriate names and allow users to remap them. Have a few common layouts you can select from. Allow users to select a language and locale (separately) when they first launch. Refer to the actions not the keys in the documentation, and when you do specify key (e.g. in parenthesis) have it dynamically reflect the current setup.

Seem rather straight forward.

Re:The plague of emoji insertion in French docs by wazoox on Monday November 14, 2022 @12:35PM (#33597728)
And W and Z, and Q and A on French keyboard. WASD is totally unusable, and unfortunately quite common in web apps for instance.
Re:The plague of emoji insertion in French docs by poulpy123 on Monday November 14, 2022 @01:15PM (#33598370)
I would say it's more a problem of the underlying système (game engine or os) that should manage the compatibility between keyboard layout