Author Topic: [Question] Holding down multiple keys for repeats?  (Read 6216 times)

0 Members and 1 Guest are viewing this topic.

Offline ViciousWhiskers

  • Thread Starter
  • Posts: 63
  • Location: Toronto
[Question] Holding down multiple keys for repeats?
« on: Thu, 05 September 2013, 19:04:44 »
Hi guys! I have an inquiry,

Some keyboards can accomplish holding down 1 or more keys and have it repeat steadily in the order of the press, but how come some keyboards can't?

For example, one of my keyboards can have it's keys repeat like this: Press down 'a', then press down 'b', repeat pattern: ababababababababababababababababababababab

Another keyboard: Press down 'a', then press down 'b', abbbbbbbbbbbbbbb.
Knock Knock.
Race Condition.
Who's there?

Offline dorkvader

  • Posts: 6289
  • Location: Boston area
  • all about the "hack" in "geekhack"
Re: [Question] Holding down multiple keys for repeats?
« Reply #1 on: Thu, 05 September 2013, 19:53:25 »
some keyboards accomplish a higher key rollover by presesting more usb devices to the OS. I think that is what the choc mini does. The expected behaviour is #2, and behaving as #1 does is an oddity most often caused by messing around with how the usb presents itself, as the noppoo does.

Offline laffindude

  • Posts: 1521
  • ( ̽ ¬ ˳¬)
Re: [Question] Holding down multiple keys for repeats?
« Reply #2 on: Fri, 06 September 2013, 10:29:21 »
Case 1 is probably an USB device, also likely a wireless board. Windows will repeat the last pressed key. If the keyboard firmware incorrectly send another key down down event on all the currently pressed keys, it will trigger the 2nd case, since the OS will just repeat all the keys from the last key down event.

Dorkvader's explanation is unlikely to trigger this behavior.

Offline ViciousWhiskers

  • Thread Starter
  • Posts: 63
  • Location: Toronto
Re: [Question] Holding down multiple keys for repeats?
« Reply #3 on: Fri, 06 September 2013, 15:59:23 »
However, both of these keyboards used as examples are USB and are wired... I am not sure why it happens differently on these two keyboards. Should I be aware of anything? Like, out of these two patterns, which one of them is supposed to happen, and which one is not supposed to happen?
Knock Knock.
Race Condition.
Who's there?

Offline Daniel Beardsmore

  • Posts: 1874
  • Location: Hertfordshire, England
  • RIP
    • Boring twaddle
Re: [Question] Holding down multiple keys for repeats?
« Reply #4 on: Fri, 06 September 2013, 16:08:13 »
Dorkvader is correct. This came up recently, and I confirmed that if I hold a key down on one keyboard, and another key on a second, you do get that alternating pattern — Windows approaches key repeat on a per-keyboard basis, not on a session basis. This is an issue with Windows where Microsoft never considered how to handle anyone typing on two keyboards at once. (Like, why would anyone do that? Kali maybe?)

Noppoo are (in)famous for their multiple USB endpoint approach to NKRO (the keyboard appears to the OS as multiple keyboards) and you do get this repeat behaviour.
Bore Awards
Most Boring Person on the Planet – 2011 Winner

Offline laffindude

  • Posts: 1521
  • ( ̽ ¬ ˳¬)
Re: [Question] Holding down multiple keys for repeats?
« Reply #5 on: Sat, 07 September 2013, 22:15:05 »
I don't agree. Read his posts. He doesn't have a mechanical board, therefore he never had a board that needs to use NKRO trickery. So you two are talking about a separate issue that result in the same behavior.