# lv_indev_gesture_private.h (/api/private/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`      | `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`      | `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="private/indev/lv_indev_gesture_private.h" line="39" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/src/indev/lv_indev_gesture_private.h#L39">
  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="private/indev/lv_indev_gesture_private.h" line="24" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/src/indev/lv_indev_gesture_private.h#L24">
  LV_GESTURE_MAX_POINTS [#lv_gesture_max_points]

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

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lvgl_public.h&#x22;]" includedBy="[&#x22;lvgl_private.h&#x22;]" />
