mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-03 08:07:45 +00:00
DolphinWX: Add USB passthrough settings
Allows adding/removing devices from USB passthrough.
This commit is contained in:
parent
69a13a12e2
commit
b7cc25535f
7 changed files with 313 additions and 3 deletions
|
@ -6,11 +6,12 @@
|
|||
|
||||
#include <wx/arrstr.h>
|
||||
#include <wx/panel.h>
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
class DolphinSlider;
|
||||
class wxButton;
|
||||
class wxCheckBox;
|
||||
class wxChoice;
|
||||
class wxListBox;
|
||||
class wxSlider;
|
||||
|
||||
class WiiConfigPane final : public wxPanel
|
||||
|
@ -23,6 +24,8 @@ private:
|
|||
void LoadGUIValues();
|
||||
void BindEvents();
|
||||
|
||||
void PopulateUSBPassthroughListbox();
|
||||
|
||||
void OnScreenSaverCheckBoxChanged(wxCommandEvent&);
|
||||
void OnPAL60CheckBoxChanged(wxCommandEvent&);
|
||||
void OnSDCardCheckBoxChanged(wxCommandEvent&);
|
||||
|
@ -30,6 +33,10 @@ private:
|
|||
void OnSystemLanguageChoiceChanged(wxCommandEvent&);
|
||||
void OnAspectRatioChoiceChanged(wxCommandEvent&);
|
||||
|
||||
void OnUSBWhitelistAddButton(wxCommandEvent&);
|
||||
void OnUSBWhitelistRemoveButton(wxCommandEvent&);
|
||||
void OnUSBWhitelistRemoveButtonUpdate(wxUpdateUIEvent&);
|
||||
|
||||
void OnSensorBarPosChanged(wxCommandEvent&);
|
||||
void OnSensorBarSensChanged(wxCommandEvent&);
|
||||
void OnSpeakerVolumeChanged(wxCommandEvent&);
|
||||
|
@ -46,6 +53,10 @@ private:
|
|||
wxChoice* m_system_language_choice;
|
||||
wxChoice* m_aspect_ratio_choice;
|
||||
|
||||
wxListBox* m_usb_passthrough_devices_listbox;
|
||||
wxButton* m_usb_passthrough_add_device_btn;
|
||||
wxButton* m_usb_passthrough_rem_device_btn;
|
||||
|
||||
wxChoice* m_bt_sensor_bar_pos;
|
||||
DolphinSlider* m_bt_sensor_bar_sens;
|
||||
DolphinSlider* m_bt_speaker_volume;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue