mojira.dev
MC-7255

CLONE - Re-open MC-630 (Keyboard binding bug); it was prematurely closed.

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

NOTE: This issue is a clone of MC-630, because MC-630 was closed without a resolution. Please fire the close-happy mods, they're just making this problem worse and make the issue tracker more bloated than it would otherwise be, and are generally just wasting a lot of time and keep Minecraft unusable until these issues are actually fixed.

Linked issues

Attachments

Comments 64

Even though this is a clone, you might want to change the title to be more descriptive, or it will likely be overlooked and hard to search for.

Also add a note at the end that this has been cloned, because it was prematurely closed (by Mod-Tails) despite the problem not beeing solved.

To the developers: Why not update LWJGL for the linux download of Minecraft / write an email to the LWJGL-Team / solve the LWJGL problem yourself, instead of waiting till the LWJGL-developers fix these bugs.

Juha-Jarmo Heinonen

Josh: BTW, the LWJGL argument is probably BS. I've had lengthy discussions with the LWJGL people and their opinion is basically that the Mojang developers are retards and that LWJGL (demonstrably) works correcly; it's not just used properly; hence my suggestions about the changes.

Yes the mods made a mistake, but most people do, too. No matter how frustrating it could be, they are only human and it never hurts to be polite.

On an unrelated note, you have the clone backwards, it's saying that MC-630 is the clone of this one. Might want to fix that.

Juha-Jarmo Heinonen

Martin: The few issues I'm following here have all had at least once a premature closing. I'd say it's very common.

54 more comments

The Dropbox links to the experimental LWJGL version witch fixes this issue in OS X are dead. If someone could please post a new link or make a torrent I would be VERY appreciative. On a side note, LWJGL 2.9.0 does not fix this issue, even though it appears to be based on the now unavailable fix.

same problem on linux (most distro) and special key doesn't work. it is worst with the pre-release of the 1.7 because special keys are not working at all. pressing one and it does nothing! help!

still not resolved in 1.7.4 --" what are you waiting for? because of this, I have to play it with Wine which is very uncomfortable...

Should get reopened
Sean Poirier is this still happening in 1.8?

I don't know, but I've found a tweak for this. I installed the two language (french canadian with english US) so the game use both of them. French for the chat, and US keys for the game. since that, I didn't had any other problems with it. But, I also must admit that since Micro$oft bought Minecraft, I've stop playing it. Because, I don't think they will continue to support Linux... (or if they do, they will just scrap everything just like they've done with Skype.

Anyway, the bug may still be there but it's not to "Mojang" to fix this, it's a problem with LWJGL.

Juha-Jarmo Heinonen

Erik Broes

Unconfirmed

controls, dvorak, keybinding, keyboard

Minecraft 1.4.6, Minecraft 1.4.7

Retrieved