touch_overlay_map(9)
π touch_overlay_map(9) β bestie's Kernel API Manual era β¨
Okay so bestie, this is touch_overlay_map(9) from the Kernel API Manual, and it's lowkey iconic. We're mapping overlay objects, setting key capabilities when buttons exist, and keeping every single detail intact. No cap. π«Ά
π NAME π
touch_overlay_map β the way that this function maps overlay objects from the device tree is giving main character energy, and if buttons are defined it sets key capabilities accordingly. That's the name-section vibe. Slay. β¨
πΈ SYNOPSIS πΈ
int touch_overlay_map (struct list_head *list , struct input_dev *input
);
The signature said what it said, and we're keeping it exactly like that. π
π₯ ARGUMENTS π₯
listβ pointer to the list that will hold the segments. Yes bestie, it's astruct list_head *, and it's literally there to hold the segments. πinputβ pointer to the already allocatedinput_dev. Already allocated, no cap. β¨
π¦ DESCRIPTION π¦
Here's the tea: this bad boy returns 0 on success and error number otherwise. That's the vibe check: 0 means success, and anything else means error number. Periodt. π
If buttons are defined, key capabilities are set accordingly. That's the whole plot, and it ate. π₯
π SEE ALSO π
- Kernel file
./drivers/input/touch-overlay.cβ the source file, main character energy. π touch_overlay_get_touchscreen_abs(9)β bestie reference, go look. π«Άtouch_overlay_mapped_touchscreen(9)β another iconic reference. πΈtouch_overlay_sync_frame(9)β sync frame realness, fr fr. πtouch_overlay_process_contact(9)β process contact, slay. β
Okay bestie, that's the whole manual page: every argument, return value, buttons note, and SEE ALSO reference is here. No skipped details. π
Signing off from the ./drivers/input source/version corner, dated October 2026, with touch_overlay_map(9) energy forever. Byeee! π
β¨π
π¦ 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