How to use 2 input driver , i want using button and encoder

Description

How to use 2 input driver

What MCU/Processor/Board and compiler are you using?

ESP32

What LVGL version are you using?

8.3

What do you want to achieve?

using 2 input driver, button for tabview , and encoder for scrolling

What have you tried so far?

i tried to initialization 2 driver, but lvgl only executed the last driver , not all.

Code to reproduce

Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

The code block(s) should be formatted like:

/*You code here*/

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.

I use touch and encoder everyday then yes .

is encoder need to be grouped or no ?

I mean question is oposite, but answ is yes. Group need be assigned to indev.
Except indev , that return XY possitions.

so yeah in your case , touch return XY positions, so you only make group for encoder , right ?