Add a GUI option to select a bluetooth device

This commit is contained in:
Joshua Vandaële 2025-02-28 08:07:17 +01:00
commit 4773a6f323
No known key found for this signature in database
GPG key ID: 5E8F4E7EDBD390EA
8 changed files with 227 additions and 22 deletions

View file

@ -28,9 +28,11 @@ public:
explicit WiimoteControllersWidget(QWidget* parent);
void UpdateBluetoothAvailableStatus();
void RefreshBluetoothAdapters();
private:
void SaveSettings();
void OnBluetoothPassthroughDeviceChanged(int index);
void OnBluetoothPassthroughSyncPressed();
void OnBluetoothPassthroughResetPressed();
void OnWiimoteRefreshPressed();
@ -50,6 +52,8 @@ private:
QRadioButton* m_wiimote_emu;
QRadioButton* m_wiimote_passthrough;
QLabel* m_bluetooth_adapters_label;
QComboBox* m_bluetooth_adapters;
QPushButton* m_wiimote_sync;
QPushButton* m_wiimote_reset;
QCheckBox* m_wiimote_continuous_scanning;