Tap events are not notified correctly.
makotosato-at opened this issue · 1 comments
makotosato-at commented
Hello.
I have encountered problems using a multi-tap display and i.MX8MP board.
In flutter_elinux_view.h/.cc, instance variable touch_event_ is not initialized, so it contains an garbage value.
Therefore, it is not processed correctly in function GgeTouchPoint().
I think it needs to be initialized as follows:
struct touch_event {
touch_point points[10] = {
{false, -1, 0, .0, .0}, {false, -1, 0, .0, .0},
{false, -1, 0, .0, .0}, {false, -1, 0, .0, .0},
{false, -1, 0, .0, .0}, {false, -1, 0, .0, .0},
{false, -1, 0, .0, .0}, {false, -1, 0, .0, .0},
{false, -1, 0, .0, .0}, {false, -1, 0, .0, .0},
};
};
HidenoriMatsubayashi commented
Thank you for reporting the bug.