You are viewing a single thread.
View all comments View context
3 points

It’s actually the other way around. Check out Ben Eater’s awesome videos for technical details.

TLDR: PS/2 sends separate key up and key down events, sequentially - like #1 Down - #2 Down - #1 Up - #2 Up - each in separate message, allowing for theoretically infinite rollover (excluding certain edge-cases). USB, on the other hand, polls only for keys being pressed at the moment. By default, the keyboard responds with a 8-byte message, with 1 byte being the bitmask for 8 modifier keys (4 on each side), a spacer, and 6 bytes/slots for identifiers of keys being held down. If one identifier is present in one response but is missing or replaced in next one, the system assumes a key-up event. It is possible by USB spec to negotiate connection in such a way that the keyboard responds with a bitmask for every single key it has. But this is not well supported by things like BIOS and KVM’s, so very few keyboard manufacturers bother implementing it. Most keyboarrds advertising NKRO are actually only capable of doing so via the PS/2 adapter.

permalink
report
parent
reply
3 points

Seems like I got my wires crossed, thanks for clarifying!

permalink
report
parent
reply
1 point

There are proper NKRO USB keyboards though. The packet sort of reminds me of a piano. Each key has a bit that says if it is pressed or not.

permalink
report
parent
reply

Memes

!memes@sopuli.xyz

Create post

Post memes here.

A meme is an idea, behavior, or style that spreads by means of imitation from person to person within a culture and often carries symbolic meaning representing a particular phenomenon or theme.

An Internet meme or meme, is a cultural item that is spread via the Internet, often through social media platforms. The name is by the concept of memes proposed by Richard Dawkins in 1972. Internet memes can take various forms, such as images, videos, GIFs, and various other viral sensations.

  • Wait at least 2 months before reposting
  • No explicitly political content (about political figures, political events, elections and so on), !politicalmemes@lemmy.ca can be better place for that
  • Use NSFW marking accordingly

Laittakaa meemejä tänne.

  • Odota ainakin 2 kuukautta ennen meemin postaamista uudelleen
  • Ei selkeän poliittista sisältöä (poliitikoista, poliittisista tapahtumista, vaaleista jne) parempi paikka esim. !politicalmemes@lemmy.ca
  • Merkitse K18-sisältö tarpeen mukaan

Community stats

  • 5.3K

    Monthly active users

  • 777

    Posts

  • 5.5K

    Comments