Display vs. touch resolution

Is there common to have both display and touch of the same resolution or there are cases where might differ and what consequences are for the LVGL - can I set up on different?

Thank you.

The read_cb of the touchpad should convert the touch coordinates to the display’s resolution.

read_cb is a function pointer called periodically to report the state of an input device. In the case of touchscreen what type of device is it?

  • LV_INDEV_TYPE_POINTER touchpad or mouse
  • LV_INDEV_TYPE_KEYPAD keyboard or keypad
  • LV_INDEV_TYPE_ENCODER encoder with left/right turn and push options
  • LV_INDEV_TYPE_BUTTON external buttons virtually pressing the screen

Or is it going to depend on what sunscreen is targeted for?

In my mind “touchpad” == “touchscreen”.