STRUCT BU21013_TS(9)
β¨ struct bu21013_ts β touch panel data structure β¨
okay bestie, welcome to the Kernel API Manual π this one's from the kernel docs, section 9, and it's literally just one struct but she's kind of iconic ngl.
πΈ NAME πΈ
struct bu21013_ts β the touch panel data structure π«Ά that's it, that's the whole vibe.
β¨ SYNOPSIS β¨
here's the whole struct, copied character for character because we do not mess with code π
struct bu21013_ts {
struct i2c_client *client;
struct input_dev *in_dev;
struct touchscreen_properties props;
struct regulator *regulator;
struct gpio_desc *cs_gpiod;
struct gpio_desc *int_gpiod;
u32 touch_x_max;
u32 touch_y_max;
bool x_flip;
bool y_flip;
bool touch_stopped;
};
π Members π
every single field, no skips, no cap:
clientβ pointer to the i2c client π₯in_devβ pointer to the input device structure πpropsβ the device coordinate transformation properties β¨regulatorβ pointer to the Regulator used for touch screen πcs_gpiodβ chip select GPIO line π¦int_gpiodβ touch interrupt GPIO line βtouch_x_maxβ maximum X coordinate reported by the device πtouch_y_maxβ maximum Y coordinate reported by the device πx_flipβ indicates that the driver should invert X coordinate before reporting πy_flipβ indicates that the driver should invert Y coordinate before reporting πtouch_stoppedβ touch stop flag π
πΈ Description πΈ
touch panel device data structure. yup. that's the whole description. short queen energy, she said what she said π§
π SEE ALSO π
- Kernel file
./drivers/input/touchscreen/bu21013_ts.cβ go read it iykyk π
and that's the page fr fr π this was struct bu21013_ts(9) from the Kernel API Manual, living in ./drivers/input/touchscreen, dated October 2026 β no cap, that's the actual source, version and date, mwah π slay your day 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