Sorry I tried to figure it out from the documentation, but I don’t see any examples.
Thanks!
I don’t think there is a setting for this in ESPhome.
Looks like the default is only 400ms. What did you want to set it to?
I guess you could use a lamda. I’m not 100% sure where this would go.
lv_indev_set_long_press_time(LV_INDEV_STATE_PR, 1000); // Set long press time to 1000ms
1 Like
Thanks for the replies, I realized I don’t have access to this control because I have been dipping my feet into using ha deck, I will have to try going direct, if I can figure out the right board/driver combo. Thanks!
An I mistaken about what this does then?
long_press_time (Optional, Time): For the touchscreen, delay after which the on_long_pressed interaction trigger will be called. Defaults to 400ms.
sorry to resurrect an old thread - where does this bit of code actually go?
In the touchscreen or encoder config.