vmmouse_report_button(9)
π 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 thestruct psmousestruct π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 π
- Kernel file
./drivers/input/mouse/vmmouse.cπ struct vmmouse_data(9)π§vmmouse_report_events(9)πvmmouse_process_byte(9)πvmmouse_disable(9)π«vmmouse_enable(9)βvmmouse_check_hypervisor(9)πvmmouse_detect(9)π΅οΈvmmouse_reset(9)πvmmouse_disconnect(9)πvmmouse_reconnect(9)πvmmouse_init(9)π±
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms