STRUCT TOUCHPAD_PROTOCOL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, welcome to struct touchpad_protocol(9) from the Kernel API Manual ✨ this struct is the touchpad message, and its message.type is 0x0210 πŸ’– that's the whole NAME vibe: struct touchpad_protocol β€” touchpad message. message.type = 0x0210. periodt.

✨ SYNOPSIS ✨

here's the struct in all its glory, copied exactly so you can trust it fr fr:

       struct touchpad_protocol {
           u8 unknown1[1];
           u8 clicked;
           u8 unknown2[28];
           u8 number_of_fingers;
           u8 clicked2;
           u8 unknown3[16];
           struct tp_finger        fingers[];
        };

🫢 Members 🫢

  • unknown1 β€” unknown πŸ™ˆ
  • clicked β€” 1 if a button-click was detected, 0 otherwise πŸ‘†
  • unknown2 β€” unknown πŸ’€
  • number_of_fingers β€” the number of fingers being reported in fingers πŸ–οΈ
  • clicked2 β€” same as clicked 🫢
  • unknown3 β€” unknown 🌸
  • fingers β€” the data for each finger πŸŽ€

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/input/keyboard/applespi.c πŸ“
  • struct keyboard_protocol(9)
  • struct tp_finger(9)
  • struct command_protocol_tp_info(9)
  • struct touchpad_info_protocol(9)
  • struct command_protocol_mt_init(9)
  • struct command_protocol_capsl(9)
  • struct command_protocol_bl(9)
  • struct message(9)
  • struct spi_packet(9)

mwah πŸ’‹ this page signs off from ./drivers/input/keyboard, dated October 2026, and it's all about struct touchpad_protocol(9) β€” no cap, that's the footer energy 🫢✨

πŸ“¦ where this page comes from