ENUM PS2_DISPOSITION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum ps2_disposition(9)

okay so bestie, welcome to the Kernel API Manual ✨ β€” yes we're reading kernel docs together, this is our bonding era 🫢. This one is about enum ps2_disposition, and honestly? It's a lil baby of a page. Three constants. That's it. But every single one of them matters, so let's go 🌸


πŸŽ€ NAME πŸŽ€

enum ps2_disposition β€” it literally tells you how a received byte should be handled πŸ’… like it's the vibe check for incoming bytes, no cap.


✨ SYNOPSIS ✨

Here's the whole thing, verbatim, don't touch it, she's perfect:

enum ps2_disposition {
    PS2_PROCESS ,
    PS2_IGNORE ,
    PS2_ERROR

};

Look at that. Three members. So clean. So iconic. πŸ‘‘


πŸ¦‹ Constants πŸ¦‹

okay so here's what each one actually means, bestie, pay attention 🧚

  • PS2_PROCESS β€” pass the byte to the main protocol handler, where it gets processed normally. it's giving "you're on the list, come on in" ✨
  • PS2_IGNORE β€” skip the byte. not today, byte. we don't know her πŸ™ˆ
  • PS2_ERROR β€” do not process the byte, and abort the command that's in progress. it's a hard no, command's cancelled, everybody out πŸ’€
fr fr, PS2_ERROR is not a soft little "hmm something's off" β€” the command in progress gets aborted. dramatic and correct, as she should be πŸ”₯

🌈 SEE ALSO 🌈

  • Kernel file ./include/linux/libps2.h πŸ’–
  • struct ps2dev(9) ⭐

go read those next, iykyk πŸ‘‘


pink and that's the whole page, bestie!! this lil cutie came from the ./include/linux directory, dated October 2026 πŸŽ€ mwah, go slay some PS/2 bytes πŸ’œ pink

πŸ“¦ where this page comes from