diff --git a/app/src/input_manager.c b/app/src/input_manager.c index b008c4db22..a60b31b09f 100644 --- a/app/src/input_manager.c +++ b/app/src/input_manager.c @@ -651,6 +651,12 @@ input_manager_process_touch(struct input_manager *im, const SDL_TouchFingerEvent *event) { struct control_msg msg; if (convert_touch(event, im->screen, &msg)) { + if (msg.inject_touch_event.action != AMOTION_EVENT_ACTION_MOVE) { + LOGV("Finger %s at %ux%u", + msg.inject_touch_event.pressure ? "down" : "up", + msg.inject_touch_event.position.point.x, + msg.inject_touch_event.position.point.y); + } if (!controller_push_msg(im->controller, &msg)) { LOGW("Could not request 'inject touch event'"); } @@ -740,6 +746,10 @@ input_manager_process_mouse_button(struct input_manager *im, return; } + LOGV("Mouse %s at %ux%u", msg.inject_touch_event.pressure ? "down" : "up", + msg.inject_touch_event.position.point.x, + msg.inject_touch_event.position.point.y); + if (!controller_push_msg(im->controller, &msg)) { LOGW("Could not request 'inject mouse button event'"); return;