Add a recenter control for Wiimote IR relative input
This adds a recenter control binding which allows recentering the cursor when relative input is enabled. (EnableSettingControl is renamed to avoid confusions.)
This commit is contained in:
1 parent
1ad19f9371
commit
149654df5a
4 files changed
+41
-8
No files matched your search
@@ -165,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
|
||||
@@ -223,7 +224,8 @@ public:
|
||||
void LoadDefaults(wxCommandEvent& event);
|
||||
|
||||
void AdjustControlOption(wxCommandEvent& event);
|
||||
void EnableSettingControl(const std::string& group_name, const std::string& name, bool enabled);
|
||||
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 AdjustBooleanSetting(wxCommandEvent& event);
|
||||
|
||||
|
||||
Reference in new issue
Block a user