STRUCT RMI_2D_AXIS_ALIGNMENT(9)
π struct rmi_2d_axis_alignment β NAME
okay so bestie, welcome to the Kernel API Manual π and this page is all about struct rmi_2d_axis_alignment β literally just target axis alignment β¨ that's the whole vibe, that's the name, no cap.
πΈ SYNOPSIS
here's the struct in all its glory, copied exactly so you never have to squint at it:
struct rmi_2d_axis_alignment {
bool swap_axes;
bool flip_x;
bool flip_y;
u16 clip_x_low;
u16 clip_y_low;
u16 clip_x_high;
u16 clip_y_high;
u16 offset_x;
u16 offset_y;
u8 delta_x_threshold;
u8 delta_y_threshold;
};
look at her. iconic. π«Ά
β¨ Members β¨
time for the member-by-member breakdown, bestie β this is the main character energy part of the page:
swap_axesβ set toTRUEif you're feeling spicy and want to swap the x- and y-axis πflip_xβ set toTRUEif you desire to flip the direction on the x-axis πflip_yβ set toTRUEif you desire to flip the direction on the y-axis πclip_x_lowβ reported X coordinates below this setting will be clipped to the specified value βοΈclip_x_highβ reported X coordinates above this setting will be clipped to the specified value βοΈclip_y_lowβ reported Y coordinates below this setting will be clipped to the specified value βοΈclip_y_highβ reported Y coordinates above this setting will be clipped to the specified value βοΈoffset_xβ this value will be added to all reported X coordinates βoffset_yβ this value will be added to all reported Y coordinates βrel_report_enabledβ if set to true, the relative reporting will be automatically enabled for this sensor π°οΈ
ngl bestie, notice howrel_report_enabledis chillin' in the Members list but isn't in the struct definition up there π anddelta_x_thresholdanddelta_y_thresholdare in the struct but get zero explanation here β that's just what the page says, don't come for me π
π SEE ALSO
Kernel file ./include/linux/rmi.h β and it's giving a whole friend group of structs, fr fr:
struct rmi_gpio_data(9)struct rmi_f01_power_management(9)struct rmi_device_platform_data_spi(9)struct rmi_device_platform_data(9)struct rmi_function_descriptor(9)struct rmi_transport_dev(9)struct rmi_transport_ops(9)struct rmi_driver(9)struct rmi_device(9)
okay that's the whole page, you ate that π this gem lives in ./include/linux, it's dated October 2026, and it answers to the name struct rmi_2...is_alignment(9) β mwah, see you in the next manpage 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