Integrate AVA2 native shop and refine mobile controls and locale tooltips

This commit is contained in:
shen
2026-10-19 07:13:56 -07:00
parent 1359eab806
commit 24c1b3b416
36 changed files with 3501 additions and 52 deletions
+5 -1
View File
@@ -261,7 +261,10 @@ bool VulkanWindow::poll(bool forward_to_live_client) {
} else if (event.type == SDL_EVENT_FINGER_MOTION) {
touch_controller.on_finger_motion(event.tfinger.fingerID, event.tfinger.x, event.tfinger.y);
continue;
} else if (event.type == SDL_EVENT_FINGER_UP || event.type == SDL_EVENT_FINGER_CANCELED) {
} else if (event.type == SDL_EVENT_FINGER_CANCELED) {
touch_controller.cancel_gestures();
continue;
} else if (event.type == SDL_EVENT_FINGER_UP) {
touch_controller.on_finger_up(event.tfinger.fingerID, event.tfinger.x, event.tfinger.y);
continue;
}
@@ -275,6 +278,7 @@ bool VulkanWindow::poll(bool forward_to_live_client) {
SDL_HideCursor();
os_cursor_hidden_ = true;
} else if (event.type == SDL_EVENT_WINDOW_FOCUS_LOST) {
touch_controller.cancel_gestures();
SDL_CaptureMouse(false);
PythonBoot::UIMouseButton(2, false, last_mx_, last_my_);
PythonBoot::UIMouseButton(3, false, last_mx_, last_my_);