# lv_indev_gesture_private.h (/api/indev/lv_indev_gesture_private_h)



<RelatedHeaders name="lv_indev_gesture.h" isPrivate="true" />

<ApiSummary structs="3" typedefs="1" macros="1" />

Structs [#structs]

<ApiMember kind="struct" name="lv_indev_gesture_motion">
  lv_indev_gesture_motion [#lv_indev_gesture_motion]

  | Member        | Type                                | Description |
  | ------------- | ----------------------------------- | ----------- |
  | `finger`      | <ApiLink name="int8_t" />           |             |
  | `start_point` | <ApiLink name="lv_point_t" />       |             |
  | `point`       | <ApiLink name="lv_point_t" />       |             |
  | `state`       | <ApiLink name="lv_indev_state_t" /> |             |
</ApiMember>

<ApiMember kind="struct" name="lv_indev_gesture">
  lv_indev_gesture [#lv_indev_gesture]

  | Member            | Type                           | Description |
  | ----------------- | ------------------------------ | ----------- |
  | `motions`         | `lv_indev_gesture_motion_t[2]` |             |
  | `center`          | <ApiLink name="lv_point_t" />  |             |
  | `scale`           | `float`                        |             |
  | `p_scale`         | `float`                        |             |
  | `scale_factors_x` | `float[2]`                     |             |
  | `scale_factors_y` | `float[2]`                     |             |
  | `delta_x`         | `float`                        |             |
  | `delta_y`         | `float`                        |             |
  | `p_delta_x`       | `float`                        |             |
  | `p_delta_y`       | `float`                        |             |
  | `rotation`        | `float`                        |             |
  | `p_rotation`      | `float`                        |             |
  | `finger_cnt`      | <ApiLink name="uint8_t" />     |             |
</ApiMember>

<ApiMember kind="struct" name="lv_indev_gesture_configuration">
  lv_indev_gesture_configuration [#lv_indev_gesture_configuration]

  | Member                         | Type    | Description |
  | ------------------------------ | ------- | ----------- |
  | `pinch_up_threshold`           | `float` |             |
  | `pinch_down_threshold`         | `float` |             |
  | `rotation_angle_rad_threshold` | `float` |             |
</ApiMember>

Typedefs [#typedefs]

<ApiMember kind="typedef" name="lv_indev_gesture_motion_t" file="indev/lv_indev_gesture_private.h" line="47" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/indev/lv_indev_gesture_private.h#L47">
  lv_indev_gesture_motion_t [#lv_indev_gesture_motion_t]

  ```c title=" " lineNumbers=1
  typedef struct lv_indev_gesture_motion lv_indev_gesture_motion_t
  ```
</ApiMember>

Macros [#macros]

<ApiMember kind="macro" name="LV_GESTURE_MAX_POINTS" file="indev/lv_indev_gesture_private.h" line="32" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/indev/lv_indev_gesture_private.h#L32">
  LV_GESTURE_MAX_POINTS [#lv_gesture_max_points]

  ```c title=" " lineNumbers=1
  #define LV_GESTURE_MAX_POINTS 2
  ```
</ApiMember>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_obj.h&#x22;]" transitiveIncludes="[&#x22;lv_anim.h&#x22;, &#x22;lv_area.h&#x22;, &#x22;lv_array.h&#x22;, &#x22;lv_assert.h&#x22;, &#x22;lv_bidi.h&#x22;, &#x22;lv_color.h&#x22;, &#x22;lv_color_op.h&#x22;, &#x22;lv_conf_internal.h&#x22;, &#x22;lv_conf_kconfig.h&#x22;, &#x22;lv_display.h&#x22;, &#x22;lv_draw.h&#x22;, &#x22;lv_draw_arc.h&#x22;, &#x22;lv_draw_blur.h&#x22;, &#x22;lv_draw_buf.h&#x22;, &#x22;lv_draw_image.h&#x22;, &#x22;lv_draw_label.h&#x22;, &#x22;lv_draw_line.h&#x22;, &#x22;lv_draw_rect.h&#x22;, &#x22;lv_draw_triangle.h&#x22;, &#x22;lv_event.h&#x22;, &#x22;lv_ext_data.h&#x22;, &#x22;lv_flex.h&#x22;, &#x22;lv_font.h&#x22;, &#x22;lv_fs.h&#x22;, &#x22;lv_grad.h&#x22;, &#x22;lv_grid.h&#x22;, &#x22;lv_group.h&#x22;, &#x22;lv_image_decoder.h&#x22;, &#x22;lv_image_dsc.h&#x22;, &#x22;lv_indev.h&#x22;, &#x22;lv_layout.h&#x22;, &#x22;lv_ll.h&#x22;, &#x22;lv_log.h&#x22;, &#x22;lv_math.h&#x22;, &#x22;lv_matrix.h&#x22;, &#x22;lv_mem.h&#x22;, &#x22;lv_obj_class.h&#x22;, &#x22;lv_obj_draw.h&#x22;, &#x22;lv_obj_event.h&#x22;, &#x22;lv_obj_pos.h&#x22;, &#x22;lv_obj_property.h&#x22;, &#x22;lv_obj_property_names.h&#x22;, &#x22;lv_obj_scroll.h&#x22;, &#x22;lv_obj_style.h&#x22;, &#x22;lv_obj_style_gen.h&#x22;, &#x22;lv_obj_tree.h&#x22;, &#x22;lv_palette.h&#x22;, &#x22;lv_profiler.h&#x22;, &#x22;lv_profiler_builtin.h&#x22;, &#x22;lv_sprintf.h&#x22;, &#x22;lv_string.h&#x22;, &#x22;lv_style.h&#x22;, &#x22;lv_style_gen.h&#x22;, &#x22;lv_style_properties.h&#x22;, &#x22;lv_symbol_def.h&#x22;, &#x22;lv_text.h&#x22;, &#x22;lv_tick.h&#x22;, &#x22;lv_timer.h&#x22;, &#x22;lv_types.h&#x22;]" />
