4

I have just bought a new keyboard, so I try to test it I played a game of Devil May Cry.

My key bindings are I for attack, space for lock-on, J for gun, L for grab, K for jump and w,a,s and d are for the movement.

I wanted to do a melee combo in-game but I can't do it since the button I does not work while pressing the lock-on button and movement button... however it did work on the other button such as gun, jump and grab...

I have tried to change the melee to other button such as the U button and it works perfectly fine, so I changed it back to the default and it still doesn't work.

Why is this the case?

1

2 Answers 2

6

The problem you're facing is called keyboard ghosting.

Typically, ghosting is the result of one or more of following three limitations: the hardware can't read the given key combination, the software on the computer doesn't support multiple simultaneous keys, or the communication protocol between the hardware and software limits the maximum number of simultaneous keys reported. The next section discusses in more detail the hardware design of typical keyboards that limits the number of keys that can be read at the same time.

Since the hardware of your computer worked fine with your previous keyboard, the problem is with your keyboard (unless you can chagen the communication protocol between the two, which I'm unable to do, both remaining options are functionally the same).

The way keyboard buttons are usually wired (for economic reasons) is that they lie on a grid of electrical lines and pressing any key short-circuits a specific intersection in the grid.

So if you have four buttons that each short the following wire couples: [A1][A2][B1][B2] pressing any two will result in your PC noticing the pressure (pressing A1 and then B2? No problem, the events happened at a different time, the PC can distinguish them) but pressing any three or four... well, the last one pressed will add no new connections between the terminals with the numbers and the ones with the letters, so the latest pressure will not be acknowledged.

The buttons that are usually hit at the same time (Ctrl, Shift, Alt, and usually even the WASD keys used for controlling movement in many games) are wired so that their coordinates do not interfere with each other, which is why ghosting only happens for some buttons and not for some others - keep pressing buttons, anyway, and sooner or later you will run into it, on different buttons depending on the specific wiring.

This is why your I button does not work, but your U button does.

What you can do, apart from changing the melee button to a different key that works, is getting an anti-ghost keyboard, which is a keyboard wired in a way that prevents this problem. Be aware that most anti-ghost keyboards do not solve the problem for any and every button combination imaginable: most allow for the contemporary pressure of any 3, or any 4 buttons... which should be OK for this game, maybe not for playing piano on your computer keyboard, which is how I learened about ghosting.

3
  • Sadly it is~ very helpful~ thanx a lot~ <3
    – Haz Wan
    Commented Mar 25, 2017 at 14:49
  • See also en.wikipedia.org/wiki/Rollover_(key)
    – JMac
    Commented Apr 7, 2017 at 11:32
  • The issue is named rollover, key ghosting would happen if he did not press the I key but the game registered it anyway because of the other Keys being pressed.
    – Wolfaloo
    Commented Dec 13, 2018 at 13:37
-1

That's key ghosting.

You can use passmark keyboard test to find a set of keys who doesn't fall into this problem, i used it for guitar hero to find a good set of keys to play it (enter,del,end,avpag,num7)

I found something better to explain the problem, and to test your keyboard on this page.

1
  • Passmark Keyboard test might work but there's web applications out there that do the same thing (which don't need to be installed). For example this one
    – Robotnik
    Commented Apr 7, 2017 at 7:38

Not the answer you're looking for? Browse other questions tagged or ask your own question.