diff options
| author | Briar <205427297+icybriarr@users.noreply.github.com> | 2025-03-31 18:33:05 +0200 |
|---|---|---|
| committer | Briar <205427297+icybriarr@users.noreply.github.com> | 2025-04-04 03:23:31 +0200 |
| commit | 6c3381a608ece965c88d05e45d990bfaaf9d7d23 (patch) | |
| tree | 92dfcbc7cd5102c5ec9e3bd09a2745ad65b7c03c /src/yuzu/bootmanager.cpp | |
| parent | 345a2af636e7c9b98b6f7cb193470a37fa567aa8 (diff) | |
qt: 6.7.3 Implementation
Co-authored-by: Kleidis <167202775+kleidis@users.noreply.github.com>
Diffstat (limited to 'src/yuzu/bootmanager.cpp')
| -rw-r--r-- | src/yuzu/bootmanager.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp index 3e6cae9acb..06ebb36442 100644 --- a/src/yuzu/bootmanager.cpp +++ b/src/yuzu/bootmanager.cpp @@ -1,5 +1,5 @@ -// SPDX-FileCopyrightText: 2014 Citra Emulator Project -// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: Copyright yuzu/Citra Emulator Project / Eden Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later #include <algorithm> #include <array> @@ -736,19 +736,19 @@ void GRenderWindow::wheelEvent(QWheelEvent* event) { } void GRenderWindow::TouchBeginEvent(const QTouchEvent* event) { - QList<QTouchEvent::TouchPoint> touch_points = event->touchPoints(); + QList<QTouchEvent::TouchPoint> touch_points = event->points(); for (const auto& touch_point : touch_points) { - const auto [x, y] = ScaleTouch(touch_point.pos()); + const auto [x, y] = ScaleTouch(touch_point.position()); const auto [touch_x, touch_y] = MapToTouchScreen(x, y); input_subsystem->GetTouchScreen()->TouchPressed(touch_x, touch_y, touch_point.id()); } } void GRenderWindow::TouchUpdateEvent(const QTouchEvent* event) { - QList<QTouchEvent::TouchPoint> touch_points = event->touchPoints(); + QList<QTouchEvent::TouchPoint> touch_points = event->points(); input_subsystem->GetTouchScreen()->ClearActiveFlag(); for (const auto& touch_point : touch_points) { - const auto [x, y] = ScaleTouch(touch_point.pos()); + const auto [x, y] = ScaleTouch(touch_point.position()); const auto [touch_x, touch_y] = MapToTouchScreen(x, y); input_subsystem->GetTouchScreen()->TouchMoved(touch_x, touch_y, touch_point.id()); } @@ -1137,4 +1137,4 @@ bool GRenderWindow::eventFilter(QObject* object, QEvent* event) { emit MouseActivity(); } return false; -} +}
\ No newline at end of file |
