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.

参数:

indev -- The specific LVGL input device object.

返回:

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.

参数:

display -- The specific LVGL display object.

返回:

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.

参数:

display -- The specific LVGL display object.

返回:

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.

参数:

display -- The specific LVGL display object.

返回:

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