diff --git a/src/input_source.cpp b/src/input_source.cpp index 40ce970..20ca552 100644 --- a/src/input_source.cpp +++ b/src/input_source.cpp @@ -111,10 +111,10 @@ void gamepad_manager::setup_file() { m_file << "time,"; for (int i = 0; i < SDL_GAMEPAD_BUTTON_TOUCHPAD; ++i) { - m_file << button_to_string((SDL_GamepadButton)i) << ", "; + m_file << button_to_string((SDL_GamepadButton)i) << ","; } for (int i = 0; i < SDL_GAMEPAD_AXIS_MAX; ++i) { - m_file << axis_to_string((SDL_GamepadAxis)i) << ", "; + m_file << axis_to_string((SDL_GamepadAxis)i) << ","; } m_file << std::endl; } @@ -260,4 +260,4 @@ bool initialize_rec_source() }; obs_register_source(&source_info); return true; -} \ No newline at end of file +}