As a kid, I remember being utterly confused, when most games with a console would have the key ` to open it. WTF is the key ` and where is it? For a kid it wasn't that easy to understand that there are such things as different keyboard layouts. Turns out that ` is a single key press to the left of the '1', in English, while it is a bit obscure character to write in other languages. In mine, you have º and ª in that p…
I remember that too. But the console you only open sometimes. But everyday(!), I have to use {[(| ... and they are just awkward to reach on a german layout.
Why keyboard shortcuts don't work on non-US layouts and how devs could fix it
111–120 of 212 posts
Re: Why keyboard shortcuts don't work on non-US layouts and how devs could fix it
#112Only an issue when your mouse on the right side of the keyboard
Re: Why keyboard shortcuts don't work on non-US layouts and how devs could fix it
#113> This means when the key combination is alt+/, the shortcut should be triggered when a german layout user presses alt+shift+7.
No way. I want to press alt+dash, which is in the same place as alt+/ on a US keyboard. Pressing alt+shift+7 is the equivalent of Lee-Harvey-Oswald-grade marksmanship on a keyboard.
Re: Why keyboard shortcuts don't work on non-US layouts and how devs could fix it
#114On a tangent, why are non-qwerty keyboards so poorly designed for programming? And specifically, why is apple’s azerty layout so terrible? Just look at this image: https://i.stack.imgur.com/3LL8a.png Can you find the [ and ] keys? If you’re having trouble, it’s because you have to use 2 (two!) modifier keys and activate the ( or ) keys, which themselves are clumsily placed. This cannot be typed one-handed in a comfor…
Re: Why keyboard shortcuts don't work on non-US layouts and how devs could fix it
#115Earlier quoted context omitted.
> For instance, the most annoying are games which default to WASD based on the letter typed and not the physical keys Is it even possible to do anything else? I can’t imagine keyboards report their physical layout..
The only possibility is to allow the user to assign custom keys, which is pretty common. It’s impossible to know the physical layout for absolute certainty. For all you know, my “Enter” could be a pedal under the desk.
https://www.x.org/releases/current/doc/libX11/XKB/xkblib.htm...
Re: Why keyboard shortcuts don't work on non-US layouts and how devs could fix it
#116Now when you press "shift+7" on your keyboard it only sends "regular US keycode for /"
As a benefit you'll maybe also realize that Azerty or Qwertz are pretty bad layout for typing French/German, and you'll come up with something better.
Re: Why keyboard shortcuts don't work on non-US layouts and how devs could fix it
#117One of many reasons i switched from a Euro ISO layout to a QWERTY ANSI layout a while ago. It took me about 3 weeks to get comfortable with QWERTY ANSI, plus another 2 months to fully get back to my regular typing speed. 100% worth it tho if you need a bunch of special characters as you regularly do with most programming languages. Some tips: - switch out ALL you keyboards, at home, at work, on all devices - use EurK…
Re: Why keyboard shortcuts don't work on non-US layouts and how devs could fix it
#118> This means when the key combination is alt+/, the shortcut should be triggered when a german layout user presses alt+shift+7.
Really? The / is conveniently accessible on a US layout; shift+7 isn't. So this gains you the benefit that you don't have to change documentation (it is "/" however you type it), but much less usable on other layouts. Alternatively, you could try to use the key in the same physical position, but - is already used for other shortcuts due to its meaning.
Re: Why keyboard shortcuts don't work on non-US layouts and how devs could fix it
#119On a tangent, why are non-qwerty keyboards so poorly designed for programming? And specifically, why is apple’s azerty layout so terrible? Just look at this image: https://i.stack.imgur.com/3LL8a.png Can you find the [ and ] keys? If you’re having trouble, it’s because you have to use 2 (two!) modifier keys and activate the ( or ) keys, which themselves are clumsily placed. This cannot be typed one-handed in a comfor…
Re: Why keyboard shortcuts don't work on non-US layouts and how devs could fix it
#120> For example, on my German layout, / is produced via Shift+7. This is my #1 annoyance with German keyboards as someone who learned a UK layout and who needs to do lots of programming and terminal hacking (#2 is the swapping of Y and Z). I take it this layout was invented before Unix and its heavy use of forward slashes, but it does show how shortcuts are rather discriminatory. I know more than a few Germans who use…