vmmouse_report_button(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, this is vmmouse_report_button(9) from the Kernel API Manual, and the name is literally the whole assignment: report button state on the correct input device. periodt πŸ’…βœ¨


πŸ“œ SYNOPSIS πŸ“œ

void vmmouse_report_button (struct psmouse *psmouse , struct input_dev *abs_dev , struct input_dev *rel_dev , struct input_dev *pref_dev , unsigned int code , int value );

πŸŽ€ ARGUMENTS πŸŽ€

  • psmouse β€” pointer to the struct psmouse struct 🐭
  • abs_dev β€” the absolute input device ✨
  • rel_dev β€” the relative input device πŸŽ€
  • pref_dev β€” the preferred device for reporting πŸ‘‘
  • code β€” button code πŸ”₯
  • value β€” button value ⭐

✨ DESCRIPTION ✨

so here’s the tea πŸ“: this reports value and code on pref_dev β€” unless the button is already pressed on the other device, in which case the state is reported on that device instead. no cap, that’s the rule πŸ«ΆπŸ’–


πŸ‘€ SEE ALSO πŸ‘€


mwah πŸ’‹ this cutie came from the source ./drivers/input/mouse, dated October 2026, and it’s the vmmouse_report_button(9) page. bye bestie 🫢🌈

πŸ“¦ where this page comes from