mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-16 12:58:33 +02:00

Credits to @degasus and shuffle2 (godisgovernment): https://github.com/degasus/dolphin/tree/wiispeak
28 lines
517 B
C++
28 lines
517 B
C++
// Copyright 2025 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <QWidget>
|
|
|
|
#include "Core/Core.h"
|
|
|
|
class QCheckBox;
|
|
class QComboBox;
|
|
|
|
class WiiSpeakWindow : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit WiiSpeakWindow(QWidget* parent = nullptr);
|
|
~WiiSpeakWindow() override;
|
|
|
|
private:
|
|
void CreateMainWindow();
|
|
void OnEmulationStateChanged(Core::State state);
|
|
void EmulateWiiSpeak(bool emulate);
|
|
|
|
QCheckBox* m_checkbox;
|
|
QComboBox* m_combobox_microphones;
|
|
};
|