Merge pull request #4010 from leoetlino/relative-input
Add relative input for the Wiimote IR
This commit is contained in:
commit
2db2e88620
4 files changed
+122
-19
No files matched your search
@@ -68,6 +68,7 @@ public:
|
||||
(int)(_setting->GetValue() * 100))),
|
||||
setting(_setting)
|
||||
{
|
||||
wxcontrol->SetLabel(setting->m_name);
|
||||
}
|
||||
|
||||
void UpdateGUI() override;
|
||||
@@ -164,9 +165,10 @@ class ControlButton : public wxButton
|
||||
{
|
||||
public:
|
||||
ControlButton(wxWindow* const parent, ControllerInterface::ControlReference* const _ref,
|
||||
const unsigned int width, const std::string& label = "");
|
||||
const std::string& name, const unsigned int width, const std::string& label = "");
|
||||
|
||||
ControllerInterface::ControlReference* const control_reference;
|
||||
const std::string m_name;
|
||||
};
|
||||
|
||||
class ControlGroupBox : public wxBoxSizer
|
||||
@@ -222,8 +224,10 @@ public:
|
||||
void LoadDefaults(wxCommandEvent& event);
|
||||
|
||||
void AdjustControlOption(wxCommandEvent& event);
|
||||
void EnablePadSetting(const std::string& group_name, const std::string& name, bool enabled);
|
||||
void EnableControlButton(const std::string& group_name, const std::string& name, bool enabled);
|
||||
void AdjustSetting(wxCommandEvent& event);
|
||||
void AdjustSettingUI(wxCommandEvent& event);
|
||||
void AdjustBooleanSetting(wxCommandEvent& event);
|
||||
|
||||
void GetProfilePath(std::string& path);
|
||||
|
||||
|
||||
Reference in new issue
Block a user