diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-08-29 03:14:46 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-08-29 03:54:17 +0200 |
commit | 48d1d1a06eb6acad0b0f436dcc73a19b408edb32 (patch) | |
tree | b4cc0710af11622ea2f05c1a8f14200943e98d9c /tracker-wii | |
parent | a3fa8fe6f6b783358a107f3779f65249291a190d (diff) |
tracker/{pt,wii}: pass camera options through bundle
Diffstat (limited to 'tracker-wii')
-rw-r--r-- | tracker-wii/wii_camera.cpp | 2 | ||||
-rw-r--r-- | tracker-wii/wii_camera.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tracker-wii/wii_camera.cpp b/tracker-wii/wii_camera.cpp index 973d7fab..98d180bf 100644 --- a/tracker-wii/wii_camera.cpp +++ b/tracker-wii/wii_camera.cpp @@ -86,7 +86,7 @@ WIICamera::result WIICamera::get_frame(pt_frame& frame_) return result(true, cam_info); } -bool WIICamera::start(const QString&, int, int, int) +bool WIICamera::start(const pt_settings&) { m_pDev = std::make_unique<wiimote>(); m_pDev->ChangedCallback = on_state_change; diff --git a/tracker-wii/wii_camera.h b/tracker-wii/wii_camera.h index 3d0ad1aa..038e25e7 100644 --- a/tracker-wii/wii_camera.h +++ b/tracker-wii/wii_camera.h @@ -30,7 +30,7 @@ struct WIICamera final : pt_camera WIICamera(const QString& module_name); ~WIICamera() override; - bool start(const QString& name, int fps, int res_x, int res_y) override; + bool start(const pt_settings&) override; void stop() override; result get_frame(pt_frame& Frame) override; |