I'm sure that I'm not alone. Sometimes when I go somewhere or build something, all of a sudden, the character keeps going forward just like the W is stuck. But it's not.

To recover from this I have to bash my ASWD keys on the keyboard (gently :P) and it's ok. What's causing this and how can I fix it?

  • 1
    Are you on Linux? If so, then X is grabbing focus so the event is lost like badp said. Pressing escape always fixes it for me. Commented Aug 13, 2011 at 13:37
  • Please forgive my density, but what other window manager is there? Commented Aug 13, 2011 at 15:11
  • 1
    X is not a window manager, and I'm pretty sure that @Warface is using X. I doubt there is any other 3D-accelerated alternative to X, and that is compatible with Java. Commented Aug 13, 2011 at 16:39
  • @Denilson Ah window system. My point remains the same though: "What alternative is there to X"? Commented Aug 14, 2011 at 16:13
  • 1
    This is known among my friends as the "Linux Cruise Control" bug. It's both convenient and gets me killed, depending on the situation.
    – Broam
    Commented Jan 5, 2012 at 14:16

3 Answers 3


This is a bug. It usually happens when I'm moving and clicking at the same time.

It has been reported on GetSatisfaction, and there is a known workaround: update lwjgl library that is downloaded together with Minecraft.

This bug has been around for a lot of time, and it would be great if Mojang actually fixed it...

  • Awesome find! I didn't realize Minecraft had control issues on Linux which don't afflict in on other OSes. Here's hoping Mojang updates LWJGL before release, at least.
    – Ben Blank
    Commented Aug 14, 2011 at 5:14

One cause of this is when you press two keys at almost the same time, one of which is a movement key and the other opens a GUI. A well-known "poor-man's autorun" in Minecraft is to press the "walk forward" and "inventory" keys at the same time. You will begin walking — with the inventory screen open — and will continue walking after closing your inventory again, even though no key is held down.

Other input "collisions" may cause this as well, but as badp points out, the only real after-the-fact solution is to press the "stuck" key again. There is no way to prevent this kind of key-sticking, either, other than avoiding the simultaneous inputs which cause it.


This probably means that Minecraft, for whatever reason, lost the "key W was released (thus the user wants to stop moving forwards)" event, and as a result you're still going forwards.

Try pressing W again.

  • This type of thing used to happen to me all the time with other games with an old keyboard I had. The keyboard wouldn't register more than four keys at once, so if I held down more than four keys it would forget that the W key was held down. Example: I was holding down the W key to move forward. I then pressed and held down the A key to strafe, the SHIFT key for a modifier, started pressing the E key for an attack and then pressed the space key to jump. This caused the game to continue the W key press until I pressed and released it again.
    – Adanion
    Commented Aug 12, 2011 at 18:48
  • 1
    Pressing W again does nothing, I have to press space will pressing all ASWD together and it's ok...
    – Warface
    Commented Aug 12, 2011 at 20:18
  • Alternatively, try unplugging and replugging your keyboard. Commented Aug 12, 2011 at 23:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .