lv_uefi_indev.h
Functions
-
lv_indev_t *lv_uefi_simple_pointer_indev_create(lv_point_t *display_res)
Create an indev object.
- Parameters:
display_res – 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:
The created LVGL indev object.
-
bool lv_uefi_simple_pointer_indev_add_handle(lv_indev_t *indev, EFI_HANDLE handle)
Add an EFI_SIMPLE_POINTER_PROTOCOL interface to the indev.
- Parameters:
indev – Indev that was created with lv_uefi_simple_pointer_indev_create.
handle – The handle on which an instance of the EFI_SIMPLE_POINTER_PROTOCOL protocol is installed.
- Returns:
True if the interface was added.
-
void lv_uefi_simple_pointer_indev_add_all(lv_indev_t *indev)
Add all available EFI_SIMPLE_POINTER_PROTOCOL interfaces to the indev.
- Parameters:
indev – Indev that was created with lv_uefi_simple_pointer_indev_create.
-
lv_indev_t *lv_uefi_absolute_pointer_indev_create(lv_point_t *display_res)
Create a LVGL indev object.
- Parameters:
display_res – The resolution of the display in pixels, needed to scale the input.
- Returns:
The created LVGL indev object.
-
bool lv_uefi_absolute_pointer_indev_add_handle(lv_indev_t *indev, EFI_HANDLE handle)
Add an EFI_ABSOLUTE_POINTER_PROTOCOL interface to the indev.
- Parameters:
indev – Indev that was created with lv_uefi_absolute_pointer_indev_create.
handle – The handle on which an instance of the EFI_ABSOLUTE_POINTER_PROTOCOL protocol is installed.
- Returns:
True if the interface was added.
-
void lv_uefi_absolute_pointer_indev_add_all(lv_indev_t *indev)
Add all available EFI_ABSOLUTE_POINTER_PROTOCOL interfaces to the indev.
- Parameters:
indev – Indev that was created with lv_uefi_absolute_pointer_indev_create.
-
lv_indev_t *lv_uefi_simple_text_input_indev_create(void)
Create an indev object.
- Returns:
The created LVGL indev object.
-
bool lv_uefi_simple_text_input_indev_add_handle(lv_indev_t *indev, EFI_HANDLE handle)
Add an EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL interface to the indev.
- Parameters:
indev – Indev that was created with lv_uefi_simple_text_input_indev_create.
handle – The handle on which an instance of the EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL protocol is installed.
- Returns:
True if the interface was added.
-
void lv_uefi_simple_text_input_indev_add_all(lv_indev_t *indev)
Add all available EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL interfaces to the indev.
- Parameters:
indev – Indev that was created with lv_uefi_simple_text_input_indev_create.