touchscreen_...e_properties(9)
π touchscreen_parse_properties(9) β Kernel API Manual π
okay so bestie, we're in the Kernel API Manual today and this page is literally about parsing touchscreen properties. yes, like the touchscreen. the one you're probably scrolling this on. iconic behaviour fr fr.
β¨ NAME β¨
touchscreen_parse_properties β parse common touchscreen properties π«Ά
πΈ SYNOPSIS πΈ
void touchscreen_parse_properties (struct input_dev *input , bool
multitouch , struct touchscreen_properties *prop );
like, look at her. three args, returns nothing, does her job. no notes. π
π¦ ARGUMENTS π¦
inputβ the input device that should be parsed π this is the main character of the whole operation.multitouchβ aboolthat specifies whether the parsed properties should be applied to single-touch axes or multi-touch axes. so it's giving "pick your lane" energy πpropβ pointer to astruct touchscreen_propertiesinto which to store axis swap and invert info, for use withtouchscreen_report_x_yβ orNULL. yeah,NULLis a valid vibe here, no cap π
β DESCRIPTION β
This function parses common properties for touchscreens and sets up the input device accordingly. periodt. π
and the sweet part? the function keeps previously set up default values if no value is specified. so like, if you don't say anything, she's not gonna change your settings behind your back β she just leaves them. lowkey respectful tbh π§
π SEE ALSO π
Kernel file ./drivers/input/touchscreen.c β plus these two icons:
go read them, iykyk πβ¨
ngl bestie, always double-check thatpropsituation before you pass it in β the page saysNULLis allowed, and we believe the docs, but that's the only note i'm giving you π (no extra tips invented here, just repeating what the page says fr fr)
mwah π that's the page!! it's coming at you from source <purple>./drivers/input</purple> and it's dated October 2026 β so yes, we're reading from the future, and we ate. π₯π«Άπ
π¦ 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