Squareline create arduino project

Hi,
Simple question :
I have created an Arduino project with SquareLine_Studio.
Resolution 480 X 320
Rotation 0 deg
Shape rectangle
Color depth 32 bit
Lvgl version 8.3.4

After placing widgets ( numeric keyboard and text area ) I made everything to export the project : ui libs …
At the end the display show what I expected. Except flipped touch in X.

Ui.ino file show : tft.setRotation( 3 ); /* Landscape orientation, flipped */

Then I suspect this . Expected rotation must be 1 and not 3

I tried to change export rotation parameter with 0 degree and 180 degree
for both the result is the same ; tft.setRotation( 3 ); /* Landscape orientation, flipped */
The other way to exit from this problem is to flip something in function my_touchpad_read
Any idea ?

Hardware Pi pico, tft spi 480X320 v2.0
Soft: Platformio

ui.ino renamed main.cpp

config file ** [env:rpipico]

platform = GitHub - maxgerhardt/platform-raspberrypi: Raspberry Pi: development platform for PlatformIO

board = pico

framework = arduino

board_build.core = earlephilhower

;lib_deps = “” (All in library folder)

Solved by changing two lines:

/Read the touchpad/

void my_touchpad_read( lv_indev_drv_t * indev_driver, lv_indev_data_t * data )
{
uint16_t touchX = 0, touchY = 0;
bool touched = tft.getTouch( &touchX, &touchY, 600 );
if( !touched )
{
data->state = LV_INDEV_STATE_REL;
}
else
{
data->state = LV_INDEV_STATE_PR;

    // Set the coordinates
    data->point.x = 480-touchX; // modified  flip X (display is 480x320)
    data->point.y = touchY;

    Serial.print( "Data x " );
    Serial.println( 480 - touchX ); // modified 

    Serial.print( "Data y " );
    Serial.println( touchY );
}

}

That all folk !