FT6X36 ISR routine #76
Replies: 3 comments 2 replies
-
If you find a way to make it better please add a merge request including that and optional software gesture. Is defined. |
Beta Was this translation helpful? Give feedback.
-
@jonsmirl how is going? Could you achieve something? |
Beta Was this translation helpful? Give feedback.
-
I discovered that LVGL already had a FT6X36 driver so I didn't need to port this one. I have switched onto the LVGL one. Github won't let me attach, send me an email at gmail.com and I will send you the register definitions for the chip. The gestures are very easy to use. First you enable them. And then there is a register where you read the gesture ID. All of the recognition is done on the chip.
|
Beta Was this translation helpful? Give feedback.
-
The FT6X36 ISR needs to use xSemaphoreGiveFromISR() instead of xSemaphoreGive().
void IRAM_ATTR FT6X36::isr(void* arg)
{
static BaseType_t xHigherPriorityTaskWoken;
}
I'm trying to figure out how the gesture support works based on this code...
https://github.com/focaltech-systems/drivers-input-touchscreen-FTS_driver/blob/master/ft5x06.c
I want swipe left/right.
Beta Was this translation helpful? Give feedback.
All reactions