Pad: formatting

Clang format why
This commit is contained in:
TellowKrinkle 2021-02-04 01:00:52 -06:00 committed by tellowkrinkle
parent 84e0f315ad
commit 4105fe41fb
2 changed files with 29 additions and 29 deletions

View File

@ -59,10 +59,10 @@ GamepadConfiguration::GamepadConfiguration(int pad, wxWindow* parent)
} }
/** /**
Initialize the frame * Initialize the frame
Check if a gamepad is detected * Check if a gamepad is detected
Check if the gamepad support rumbles * Check if the gamepad support rumbles
*/ */
void GamepadConfiguration::InitGamepadConfiguration() void GamepadConfiguration::InitGamepadConfiguration()
{ {
repopulate(); // Set label and fit simulated key array repopulate(); // Set label and fit simulated key array
@ -100,7 +100,7 @@ void GamepadConfiguration::InitGamepadConfiguration()
* Slider event, called when the use release the slider button * Slider event, called when the use release the slider button
* @FIXME The current solution can't change the joystick sensibility and the rumble intensity * @FIXME The current solution can't change the joystick sensibility and the rumble intensity
* for a specific gamepad. The same value is used for both * for a specific gamepad. The same value is used for both
*/ */
void GamepadConfiguration::OnSliderReleased(wxCommandEvent& event) void GamepadConfiguration::OnSliderReleased(wxCommandEvent& event)
{ {
wxSlider* sl_tmp = (wxSlider*)event.GetEventObject(); wxSlider* sl_tmp = (wxSlider*)event.GetEventObject();
@ -124,7 +124,7 @@ void GamepadConfiguration::OnSliderReleased(wxCommandEvent& event)
/** /**
* Checkbox event, called when the value of the checkbox change * Checkbox event, called when the value of the checkbox change
*/ */
void GamepadConfiguration::OnCheckboxChange(wxCommandEvent& event) void GamepadConfiguration::OnCheckboxChange(wxCommandEvent& event)
{ {
wxCheckBox* cb_tmp = (wxCheckBox*)event.GetEventObject(); // get the slider object wxCheckBox* cb_tmp = (wxCheckBox*)event.GetEventObject(); // get the slider object
@ -145,7 +145,7 @@ void GamepadConfiguration::OnCheckboxChange(wxCommandEvent& event)
} }
} }
/* /**
* Checkbox event, called when the value of the choice box change * Checkbox event, called when the value of the choice box change
*/ */
void GamepadConfiguration::OnChoiceChange(wxCommandEvent& event) void GamepadConfiguration::OnChoiceChange(wxCommandEvent& event)

View File

@ -52,9 +52,9 @@ JoystickConfiguration::JoystickConfiguration(int pad, bool left, wxWindow* paren
} }
/** /**
Initialize the frame * Initialize the frame
Check if a gamepad is detected * Check if a gamepad is detected
*/ */
void JoystickConfiguration::InitJoystickConfiguration() void JoystickConfiguration::InitJoystickConfiguration()
{ {
repopulate(); // Set label and fit simulated key array repopulate(); // Set label and fit simulated key array
@ -79,7 +79,7 @@ void JoystickConfiguration::InitJoystickConfiguration()
/** /**
* Checkbox event, called when the value of the checkbox change * Checkbox event, called when the value of the checkbox change
*/ */
void JoystickConfiguration::OnCheckboxChange(wxCommandEvent& event) void JoystickConfiguration::OnCheckboxChange(wxCommandEvent& event)
{ {
wxCheckBox* cb_tmp = (wxCheckBox*)event.GetEventObject(); // get the slider object wxCheckBox* cb_tmp = (wxCheckBox*)event.GetEventObject(); // get the slider object