How do I define and fix this issue?
In many games, especially games where you walk around as a character, I have found that the characters often walk without my finger holding the key required. The character will usually walk uncontrollably in one direction, lets say left, without me holding the left key down.
I am sometimes able to solve this issue by tapping the key again, sometimes I mash the buttons to get them to stay still. Sometimes this issue is very persistent and hard to get rid of, I may stop them from going left but then they will just walk in another direction.
This can really ruin good games for me and has been bugging me for a while with many different games. When I try to search this issue on the internet I cant seem to find the right wording as my searches usually give me stuff about broken keyboards.
Is there a specific name for this issue? What is causing this and how can I fix it?
Best Answer
This is what happens when a key gets stuck either during a games initial load phase or during a map/level load. This happens because DirectInput is telling the game files this keyboard needs to be calibrated. So, the keyboard calibrates with these keys stuck in and thinks having "S" push down is idle for the computer itself.
This is more a Microsoft annoyance than it is a glitch or a bug in DirectX. When you do run into these issues simple exit the game, make certain no keys are pressed, and continue your virtual fun and adventure.
Pictures about "How do I define and fix this issue?"



What is meaning of fix the issue?
If you fix a problem or a bad situation, you deal with it and make it satisfactory. COBUILD Advanced English Dictionary.How would you define problem in your own words?
1a : a question raised for inquiry, consideration, or solution. b : a proposition in mathematics or physics stating something to be done. 2a : an intricate unsettled question. b : a source of perplexity, distress, or vexation. c : difficulty in understanding or accepting I have a problem with your saying that.How do we fix the problem?
8 steps to problem solvingWhat is the word for when you fix something?
Some common synonyms of repair are mend, patch, and rebuild. While all these words mean "to put into good order something that is injured, damaged, or defective," repair applies to the fixing of more extensive damage or dilapidation.Problem definition / framing
More answers regarding how do I define and fix this issue?
Answer 2
@Virusboy underlines one of the causes of this symptom. Typically this Directinput re-calibration results in the persistent and hard to get rid of behavior you described. In this case the only remedy is often to force a new recalibration with the key un-pressed. Generally you'd accomplish this by either forcing a new map change, or closing and re-launching the game.
The second cause can be from the game's own programming. Typically games need to read the state of many keys. To move it needs to know when a key is pressed and held, [key]+. To know when to stop it has to detect when the key is no longer pressed, [key]-. Depending on how the game was coded, during map transitions, cutscenes, menus, or any other event that may interrupt the player's ability to control their character, [key]- is not being listened for and the game is never told that [key]+ is no longer true. In this case, tapping the button will usually fix the issue, as you get a new instance of [key]- while the game was listening for it.
Sometimes a game is coded knowing that there are certain instances where [key]- is not being listened for. Here, whenever a control impairing event occurs, the game will automatically set [key]+ to false to prevent this ghost-keypress issue. In these cases, sometimes the opposite problem occurs; despite holding down the key throughout the event, when it ends you aren't moving even though your finger is still holding down the button. You must lift your finger and re-press the button in order to start moving again.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Ksenia Chernaya, Ksenia Chernaya, Ksenia Chernaya, Ksenia Chernaya
