# lv_uefi_indev.h (/api/drivers/uefi/lv_uefi_indev_h)



<ApiSummary functions="9" />

Functions [#functions]

<ApiMember kind="function" name="lv_uefi_simple_pointer_indev_create" file="drivers/uefi/lv_uefi_indev.h" line="41" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/drivers/uefi/lv_uefi_indev.h#L41">
  lv_uefi_simple_pointer_indev_create [#lv_uefi_simple_pointer_indev_create]

  Create an indev object.

  ```c title=" " lineNumbers=1
  lv_indev_t * lv_uefi_simple_pointer_indev_create(lv_point_t *display_res)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name          | Type                                                 | Description                                                                                                                             |
  | ------------- | ---------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
  | `display_res` | <ApiLink name="lv_point_t" display="lv_point_t *" /> | The resolution of the display in pixels, needed to scale the input. If NULL the resolution of the current default display will be used. |

  **Returns:** <ApiLink name="lv_indev_t" display="lv_indev_t *" /> — The created LVGL indev object.
</ApiMember>

<ApiMember kind="function" name="lv_uefi_simple_pointer_indev_add_handle" file="drivers/uefi/lv_uefi_indev.h" line="49" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/drivers/uefi/lv_uefi_indev.h#L49">
  lv_uefi_simple_pointer_indev_add_handle [#lv_uefi_simple_pointer_indev_add_handle]

  Add an EFI\_SIMPLE\_POINTER\_PROTOCOL interface to the indev.

  ```c title=" " lineNumbers=1
  bool lv_uefi_simple_pointer_indev_add_handle(lv_indev_t *indev, EFI_HANDLE handle)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name     | Type                                                 | Description                                                                                  |
  | -------- | ---------------------------------------------------- | -------------------------------------------------------------------------------------------- |
  | `indev`  | <ApiLink name="lv_indev_t" display="lv_indev_t *" /> | Indev that was created with lv\_uefi\_simple\_pointer\_indev\_create.                        |
  | `handle` | `EFI_HANDLE`                                         | The handle on which an instance of the EFI\_SIMPLE\_POINTER\_PROTOCOL protocol is installed. |

  **Returns:** <ApiLink name="bool" /> — True if the interface was added.
</ApiMember>

<ApiMember kind="function" name="lv_uefi_simple_pointer_indev_add_all" file="drivers/uefi/lv_uefi_indev.h" line="55" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/drivers/uefi/lv_uefi_indev.h#L55">
  lv_uefi_simple_pointer_indev_add_all [#lv_uefi_simple_pointer_indev_add_all]

  Add all available EFI\_SIMPLE\_POINTER\_PROTOCOL interfaces to the indev.

  ```c title=" " lineNumbers=1
  void lv_uefi_simple_pointer_indev_add_all(lv_indev_t *indev)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name    | Type                                                 | Description                                                           |
  | ------- | ---------------------------------------------------- | --------------------------------------------------------------------- |
  | `indev` | <ApiLink name="lv_indev_t" display="lv_indev_t *" /> | Indev that was created with lv\_uefi\_simple\_pointer\_indev\_create. |
</ApiMember>

<ApiMember kind="function" name="lv_uefi_absolute_pointer_indev_create" file="drivers/uefi/lv_uefi_indev.h" line="62" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/drivers/uefi/lv_uefi_indev.h#L62">
  lv_uefi_absolute_pointer_indev_create [#lv_uefi_absolute_pointer_indev_create]

  Create a LVGL indev object.

  ```c title=" " lineNumbers=1
  lv_indev_t * lv_uefi_absolute_pointer_indev_create(lv_point_t *display_res)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name          | Type                                                 | Description                                                         |
  | ------------- | ---------------------------------------------------- | ------------------------------------------------------------------- |
  | `display_res` | <ApiLink name="lv_point_t" display="lv_point_t *" /> | The resolution of the display in pixels, needed to scale the input. |

  **Returns:** <ApiLink name="lv_indev_t" display="lv_indev_t *" /> — The created LVGL indev object.
</ApiMember>

<ApiMember kind="function" name="lv_uefi_absolute_pointer_indev_add_handle" file="drivers/uefi/lv_uefi_indev.h" line="70" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/drivers/uefi/lv_uefi_indev.h#L70">
  lv_uefi_absolute_pointer_indev_add_handle [#lv_uefi_absolute_pointer_indev_add_handle]

  Add an EFI\_ABSOLUTE\_POINTER\_PROTOCOL interface to the indev.

  ```c title=" " lineNumbers=1
  bool lv_uefi_absolute_pointer_indev_add_handle(lv_indev_t *indev, EFI_HANDLE handle)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name     | Type                                                 | Description                                                                                    |
  | -------- | ---------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
  | `indev`  | <ApiLink name="lv_indev_t" display="lv_indev_t *" /> | Indev that was created with lv\_uefi\_absolute\_pointer\_indev\_create.                        |
  | `handle` | `EFI_HANDLE`                                         | The handle on which an instance of the EFI\_ABSOLUTE\_POINTER\_PROTOCOL protocol is installed. |

  **Returns:** <ApiLink name="bool" /> — True if the interface was added.
</ApiMember>

<ApiMember kind="function" name="lv_uefi_absolute_pointer_indev_add_all" file="drivers/uefi/lv_uefi_indev.h" line="76" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/drivers/uefi/lv_uefi_indev.h#L76">
  lv_uefi_absolute_pointer_indev_add_all [#lv_uefi_absolute_pointer_indev_add_all]

  Add all available EFI\_ABSOLUTE\_POINTER\_PROTOCOL interfaces to the indev.

  ```c title=" " lineNumbers=1
  void lv_uefi_absolute_pointer_indev_add_all(lv_indev_t *indev)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name    | Type                                                 | Description                                                             |
  | ------- | ---------------------------------------------------- | ----------------------------------------------------------------------- |
  | `indev` | <ApiLink name="lv_indev_t" display="lv_indev_t *" /> | Indev that was created with lv\_uefi\_absolute\_pointer\_indev\_create. |
</ApiMember>

<ApiMember kind="function" name="lv_uefi_simple_text_input_indev_create" file="drivers/uefi/lv_uefi_indev.h" line="82" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/drivers/uefi/lv_uefi_indev.h#L82">
  lv_uefi_simple_text_input_indev_create [#lv_uefi_simple_text_input_indev_create]

  Create an indev object.

  ```c title=" " lineNumbers=1
  lv_indev_t * lv_uefi_simple_text_input_indev_create(void)
  ```

  **Returns:** <ApiLink name="lv_indev_t" display="lv_indev_t *" /> — The created LVGL indev object.
</ApiMember>

<ApiMember kind="function" name="lv_uefi_simple_text_input_indev_add_handle" file="drivers/uefi/lv_uefi_indev.h" line="90" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/drivers/uefi/lv_uefi_indev.h#L90">
  lv_uefi_simple_text_input_indev_add_handle [#lv_uefi_simple_text_input_indev_add_handle]

  Add an EFI\_SIMPLE\_TEXT\_INPUT\_EX\_PROTOCOL interface to the indev.

  ```c title=" " lineNumbers=1
  bool lv_uefi_simple_text_input_indev_add_handle(lv_indev_t *indev, EFI_HANDLE handle)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name     | Type                                                 | Description                                                                                          |
  | -------- | ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
  | `indev`  | <ApiLink name="lv_indev_t" display="lv_indev_t *" /> | Indev that was created with lv\_uefi\_simple\_text\_input\_indev\_create.                            |
  | `handle` | `EFI_HANDLE`                                         | The handle on which an instance of the EFI\_SIMPLE\_TEXT\_INPUT\_EX\_PROTOCOL protocol is installed. |

  **Returns:** <ApiLink name="bool" /> — True if the interface was added.
</ApiMember>

<ApiMember kind="function" name="lv_uefi_simple_text_input_indev_add_all" file="drivers/uefi/lv_uefi_indev.h" line="96" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/drivers/uefi/lv_uefi_indev.h#L96">
  lv_uefi_simple_text_input_indev_add_all [#lv_uefi_simple_text_input_indev_add_all]

  Add all available EFI\_SIMPLE\_TEXT\_INPUT\_EX\_PROTOCOL interfaces to the indev.

  ```c title=" " lineNumbers=1
  void lv_uefi_simple_text_input_indev_add_all(lv_indev_t *indev)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name    | Type                                                 | Description                                                               |
  | ------- | ---------------------------------------------------- | ------------------------------------------------------------------------- |
  | `indev` | <ApiLink name="lv_indev_t" display="lv_indev_t *" /> | Indev that was created with lv\_uefi\_simple\_text\_input\_indev\_create. |
</ApiMember>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_indev.h&#x22;, &#x22;lv_uefi.h&#x22;]" includedBy="[&#x22;lv_drivers.h&#x22;]" transitiveIncludes="[&#x22;lv_area.h&#x22;, &#x22;lv_array.h&#x22;, &#x22;lv_conf_internal.h&#x22;, &#x22;lv_conf_kconfig.h&#x22;, &#x22;lv_event.h&#x22;, &#x22;lv_group.h&#x22;, &#x22;lv_ll.h&#x22;, &#x22;lv_math.h&#x22;, &#x22;lv_tick.h&#x22;, &#x22;lv_timer.h&#x22;, &#x22;lv_types.h&#x22;]" />
