STRUCT RMI_2D_AXIS_ALIGNMENT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 to TRUE if you're feeling spicy and want to swap the x- and y-axis πŸ”„
  • flip_x β€” set to TRUE if you desire to flip the direction on the x-axis πŸ™ƒ
  • flip_y β€” set to TRUE if 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 how rel_report_enabled is chillin' in the Members list but isn't in the struct definition up there πŸ‘€ and delta_x_threshold and delta_y_threshold are 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