touchscreen_report_pos(9)
π touchscreen_report_pos(9) β Kernel API Manual π
okay bestie, welcome to the touchscreen_report_pos(9) page from the Kernel API Manual β this is the little coords-delivery function, and it's honestly iconic π
β¨ NAME β¨
touchscreen_report_pos β report touchscreen coordinates π«Ά
πΈ SYNOPSIS πΈ
the signature, exactly as it appears:
void touchscreen_report_pos (struct input_dev *input , const struct
touchscreen_properties *prop , unsigned int x , unsigned int y , bool
multitouch );
π¦ ARGUMENTS π¦
inputβ theinput_deviceyou're reporting coordinates for πpropβ a pointer to astruct touchscreen_propertiesβ¨xβ the X coordinate to report πyβ the Y coordinate to report πmultitouchβ report coordinates on single-touch or multi-touch axes π
π DESCRIPTION π
so here's the vibe: it takes the passed-in x and y values, applies any axis inversion and swapping requested in the passed-in touchscreen_properties, and then reports the resulting coordinates on the input_dev's x and y axis. literally the whole glow-up happens right there π₯
β SEE ALSO β
- Kernel file
./drivers/input/touchscreen.cβ yes, the source file, go peek π touchscreen_parse_properties(9),touchscreen_set_mt_pos(9)β the adjacent besties in the touchscreen saga π«
okay that's the whole manual, mwah π
β signed off from source/version ./drivers/input, date October 2026, for touchscreen_report_pos(9) π«Ά
π¦ 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