lv_windows_input.h

Functions

HWND lv_windows_get_indev_window_handle(lv_indev_t *indev)

Get the window handle from specific LVGL input device object.

Parameters:

indev -- The specific LVGL input device object.

Returns:

The window handle from specific LVGL input device object.

lv_indev_t *lv_windows_acquire_pointer_indev(lv_display_t *display)

Open a LVGL pointer input device object for the specific LVGL display object, or create it if the LVGL pointer input device object is not created or removed before.

Parameters:

display -- The specific LVGL display object.

Returns:

The LVGL pointer input device object for the specific LVGL display object.

lv_indev_t *lv_windows_acquire_keypad_indev(lv_display_t *display)

Open a LVGL keypad input device object for the specific LVGL display object, or create it if the LVGL keypad input device object is not created or removed before.

Parameters:

display -- The specific LVGL display object.

Returns:

The LVGL keypad input device object for the specific LVGL display object.

lv_indev_t *lv_windows_acquire_encoder_indev(lv_display_t *display)

Open a LVGL encoder input device object for the specific LVGL display object, or create it if the LVGL encoder input device object is not created or removed before.

Parameters:

display -- The specific LVGL display object.

Returns:

The LVGL encoder input device object for the specific LVGL display object.