The keyboard binding in Minecraft tries to do some futile attempts at mapping characters not A-Z or 0-9 to keys on US-Qwerty for an unknown reason. This plan fails with layouts where A-Z aren't in the same places as on US-Qwerty. For instance, hitting keys like ',.; on Dvorak layouts result in Qwerty's QWERZ accordingly, conflicting with keys that are A-Z and return the same characters.
This bug has appeared since Beta. It worked correctly in Alpha, possibly because no attempts at mapping like that were done.
Possible solution: Map keys based on keycode, not character code, which seems what the key binding settings does anyway, before the rest of Minecraft adds a layer of WTF.
This bug makes minecraft practically unplayable on non-qwerty keyboards, including Dvorak. It has been reported many times on the wiki, I sincerely hope it gets some attention on your issue tracker now that you finally got one.
If you don't know how the key codes are arranged on a dvorak keyboard layout, it looks like this: http://upload.wikimedia.org/wikipedia/commons/2/25/KB_United_States_Dvorak.svg
To even further clarify, the US-QWERTY keyboard is like:
1234567890-=
QWERTYIOP[]\
ASDFGHJKL;'
ZXCVBNM,./
The Dvorak keyboard is like:
1234567890[]
',.PYFGCRL/=\
AOEUIDHTNS-
;QJKXBMWVZ
However, Minecraft handles it like:
1234567890-=
QWEPYFGCRL[]\
AOEUIDHTNS'
ZQJKXBMWVZ
Linked issues
is cloned by 1
is duplicated by 1
Comments 53
I'm using the NEO-Layout and I can't use Shift correctly on Linux (but it works on windows) and if I press Shift once, the shift-key is kind off stuck (but only for Inventory management) until I press F11. So this might be related.
Yes, I agree. This is a major bug and renders the game practically unplayable on "nonstandard" keyboard layouts.
One solution I found was to set up a keyboard shortcut (in my case, ctrl-command-space) to switch between DVORAK and US-QWERTY layouts.
The main drawback is that since "A" is on the same key in both layouts, and the "," key maps to "W" as detailed above, I may not even notice it's on DVORAK until I need to strafe right, or back up. In a combat or lava situation, this can be deadly.
EDIT: I can confirm this bug exists on a 2010 MacBook Pro using OSX 10.6.8.
Ok, cloned here: MC-7255
Upvote it to get a slim chance of getting something done about this again.
There's a bug report on the LWJGL tracker:
https://github.com/LWJGL/lwjgl/issues/1
I think this is related to the issue here. So if I understand correctly, the problem isn't with Mojang it's with LWJGL.
For those of you who are frustrated, be thankful that there are so many people working very hard to try and solve difficult, complex, and messy things. This stuff ain't easy, and sometimes things get worse before they get better.
The maintainer of LWJGL asked me to open a new issue for this, which I've done here:
https://github.com/LWJGL/lwjgl/issues/13
Hopefully those of us affected can help those with the power to fix this problem, especially since they are likely neither Mac users or Dvorak typists! When you take a step back, it's really amazing this stuff works as well as it does 🙂
Miles
Why was this ticket marked resolved? Although I'm still trying the LWJGL route, the problem still exists for Minecraft Dvorak typist on Macs. Sure, we're an obscure, small minority but I'd like to see this ticket remain open until the underlying cause is fixed.
Miles
See: MC-7255
Based on assumptions of this vs MC-62, this happens on all platforms with all keyboards not having A-Z and 0-9 keys at exactly the same places as US-QWERTY.