USB 3 and N-Key rollover

BloodyIron

2[H]4U
Joined
Jul 11, 2005
Messages
3,439
Various sites on the internet lead me to believe USB has a limit to the number of keys that can be pressed on a USB keyboard and recognized. Should this be true, does anyone know if USB 3 will address this?
 
Wouldn't it instead depend on the keyboard's built-in controller, which I think can buffer at least 8 keystrokes? I believe most keyboards are made for only 3-key rollover because of the ghost key problem when at least two different columns and two different rows of the key matrix are shorted together, unless each key switch is wired to a diode. I had a keyboard with metal switches made for such diodes.
 
Wouldn't it instead depend on the keyboard's built-in controller, which I think can buffer at least 8 keystrokes? I believe most keyboards are made for only 3-key rollover because of the ghost key problem when at least two different columns and two different rows of the key matrix are shorted together, unless each key switch is wired to a diode. I had a keyboard with metal switches made for such diodes.

What was your max keys pressed simultaneously on that? Was it USB?
 
USB's current limit is 6 keys regardless of the keyboards capabilities. PS/2 has no limit, assuming the keyboard in question also does not. I run my Filco Linearforce NKRO in PS/2 for this reason.

Not sure if USB 3.0 changes this, interested to know myself.
 
USB's current limit is 6 keys regardless of the keyboards capabilities. PS/2 has no limit, assuming the keyboard in question also does not.

Do you have a link explaining this limitation for USB?
 
BloodyIron said:
What was your max keys pressed simultaneously on that? Was it USB?
Here's a website that explains key scanning in detail: link. It says, contrary to my claim, that 3-key rollover doesn't always work. All I have are PS/2 keyboards. I found that with almost every one I tried, if I pressed down too many keys at once it would eventually quit transmitting keystrokes, but a few would send out junk characters.

In once tried hooking up a raw key matrix to a couple of parallel ports and found that the software that read the matrix could really change the typing action. My first attempt gave n-key lockout and felt really bad, but 2-key rollover (memorize the last keystroke, recognize change) and n-key rollover (memorize the whole matrix, recognize change) felt identical. It didn't matter whether the software handled the phantom key problem or not.
 
Here's a website that explains key scanning in detail: link. It says, contrary to my claim, that 3-key rollover doesn't always work. All I have are PS/2 keyboards. I found that with almost every one I tried, if I pressed down too many keys at once it would eventually quit transmitting keystrokes, but a few would send out junk characters.

In once tried hooking up a raw key matrix to a couple of parallel ports and found that the software that read the matrix could really change the typing action. My first attempt gave n-key lockout and felt really bad, but 2-key rollover (memorize the last keystroke, recognize change) and n-key rollover (memorize the whole matrix, recognize change) felt identical. It didn't matter whether the software handled the phantom key problem or not.

When you say software, do you mean the IC in the keyboard, or do you mean the OS, or the BIOS?
 
larrymoencurly said:
In once tried hooking up a raw key matrix to a couple of parallel ports and found that the software that read the matrix could really change the typing action. My first attempt gave n-key lockout and felt really bad, but 2-key rollover (memorize the last keystroke, recognize change) and n-key rollover (memorize the whole matrix, recognize change) felt identical. It didn't matter whether the software handled the phantom key problem or not.
When you say software, do you mean the IC in the keyboard, or do you mean the OS, or the BIOS?
This software was like the kind found in the keyboard IC. The keyboard I used had no electronics at all in it but was wired to a couple of parallel ports, one an output that drove the matrix, another to read the matrix.
 
Back
Top