STRUCT COMMAND_PROTOCOL_MT_INIT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ the main character here is struct command_protocol_mt_init, and its whole job is initialize multitouch. also important: message.type = 0x0252, message.length = 0x0002 πŸ’–


✨ SYNOPSIS ✨

struct command_protocol_mt_init {
    __le16 cmd;
    __le16 crc16;
};

🫢 Members 🫢

  • cmd β€” its value is 0x0102, no cap πŸ’…
  • crc16 β€” crc over the whole message struct (message header + this struct) minus this crc16 field πŸŽ€

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./drivers/input/keyboard/applespi.c
  • struct keyboard_protocol(9)
  • struct tp_finger(9)
  • struct touchpad_protocol(9)
  • struct command_protocol_tp_info(9)
  • struct touchpad_info_protocol(9)
  • struct command_protocol_capsl(9)
  • struct command_protocol_bl(9)
  • struct message(9)
  • struct spi_packet(9)

xoxo, your Unix bestie πŸ’– source/version: ./drivers/input/keyboard, date: October 2026, and the footer title is struct comm...ocol_mt_init(9) β€” periodt πŸ’…βœ¨

πŸ“¦ where this page comes from