mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
DolphinWX: Add USB passthrough settings
Allows adding/removing devices from USB passthrough.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user