When LONG_PRESSED is selected as a trigger for a button event, is it possible to set it to a long time that the button is pressed?
I’d like to set it to 5 seconds.
I exported the UI and checked the source, but I couldn’t find it.
**SquareLine Studio version:1.3.2
better as source is check docu. You need set it in indev struct
indev_enc.long_press_time = 1000; //def is 400ms
Than you Marian_M.
After searching the project’s sources even better, I was able to find it.
It was found in the LVGL code.
/*Long press time in milliseconds.
Time to send
#define LV_INDEV_DEF_LONG_PRESS_TIME 5000 //set 5 seconds