release the multi-touch before gesture event injecting
(maru_sdl)
Change-Id: Ib54dede198ab41a8739b29936986a1cfe6dac7a2
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
#include "ecs.h"
#include "mloop_event.h"
+#ifndef CONFIG_USE_SHM
+#include "maru_finger.h"
+#endif
+
#include "hw/maru_virtio_evdi.h"
#include "hw/maru_virtio_sensor.h"
#include "hw/maru_virtio_nfc.h"
notify_host_kbd_state(is_on);
}
} else if (!strncmp(cmd, "gesture", strlen("gesture"))) {
- // TODO: release multi-touch
+ /* release multi-touch */
+#ifndef CONFIG_USE_SHM
+ clear_finger_slot(false);
+#else
+ // TODO:
+#endif
LOG("%s\n", data);