| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-05-02 | SDL: Check if touchpad exists before getting input | Dentomologist | |
| Verify a touchpad is present before polling it for input. Without this check the Debug log is spammed with the message "error: Parameter 'touchpad' is invalid" if you have a controller without a touchpad. One would think every touchpad supports at least 1 finger, but in case there's some weird edge case check the finger count to be sure. | |||
| 2025-03-30 | InputCommon: Move SDL Device class into its own cpp/h files. | Jordan Woyak | |
| 2025-01-21 | InputCommon: Add support for SDL gamecontroller rumble triggers. | Jordan Woyak | |
| 2025-01-21 | InputCommon: Make SDL Motor L/R Outputs not fight each other. | Jordan Woyak | |
| 2024-12-04 | InputCommon/SDL: Add touchpad inputs. | Jordan Woyak | |
| 2024-12-04 | Merge pull request #13174 from jordan-woyak/sdl-battery | JMC47 | |
| ControllerInterface/SDL: Add Battery Input. | |||
| 2024-11-17 | Merge pull request #13156 from jordan-woyak/sdl-no-wgi | JosJuice | |
| ControllerInterface/SDL: Disable SDL's Windows.Gaming.Input controller handling. | |||
| 2024-11-04 | ControllerInterface/SDL: Add Battery Input. | Jordan Woyak | |
| 2024-11-03 | InputCommon: Rename AddAnalogInputs to AddFullAnalogSurfaceInputs. | Jordan Woyak | |
| 2024-11-02 | InputCommon: Disable DualSense Player LED | dreamsyntax | |
| 2024-10-31 | ControllerInterface/SDL: Fix device removal event processing. | Jordan Woyak | |
| 2024-10-30 | ControllerInterface/SDL: Disable SDL's Windows.Gaming.Input controller handling. | Jordan Woyak | |
| 2024-08-20 | Remove redundant semicolons | Dr. Dystopia | |
| 2024-03-14 | SDL: Remove duplicate button/hat Inputs. Hide duplicate Axis Inputs. | Jordan Woyak | |
| 2024-03-14 | SDL: Deduplicate Motor logic with templates. | Jordan Woyak | |
| 2024-03-14 | SDL: Move class definition out of header. | Jordan Woyak | |
| 2024-01-15 | InputCommon/SDL: Code style fixes. | Admiral H. Curtiss | |
| 2024-01-15 | InputCommon/SDL: Avoid potential infinite loops from integer truncation. | Admiral H. Curtiss | |
| 2024-01-15 | InputCommon/SDL: Check for errors from SDL_JoystickNumButtons(), ↵ | Admiral H. Curtiss | |
| SDL_JoystickNumAxes(), SDL_JoystickNumHats(). | |||
| 2024-01-15 | InputCommon/SDL: Fix incorrect use of std::vector::assign() and check bounds. | Admiral H. Curtiss | |
| 2024-01-13 | SDL: Add GameController API, cleanup | Martino Fontana | |
| 2023-12-18 | Input: Improve Controller Interface devices threading | Filoppi | |
| This specific issue was already addressed by https://github.com/dolphin-emu/dolphin/pull/11635 though I felt like there was something more we could do, and wasn't too happy with the likelihood of devices update calls being skipped (due to `m_devices_population_mutex` being locked). | |||
| 2023-11-10 | SDL: Add default case to switch statement | Dentomologist | |
| Fix -WSwitch warning about unhandled enum value SDL_NUM_LOG_PRIORITIES. log_level is initialized to LNOTICE right before the switch statement so this doesn't cause any behavior changes. | |||
| 2023-10-26 | ControllerInterface/SDL: Remove Xbox 360 controller disabling hack. | Jordan Woyak | |
| 2022-11-24 | InputCommon:SDL: Add SDL 2.26 left and right motion inputs | TellowKrinkle | |
| 2022-11-01 | ControllerInterface: Add InputBackend interface and SDL implementation. | Jordan Woyak | |
| 2022-07-25 | StripSpaces: only strip spaces | Shawn Hoffman | |
| StripWhitespace maintains old behavior | |||
| 2022-07-13 | InputCommon: Don't force-link against SDL2.lib on Windows. | Admiral H. Curtiss | |
| 2022-07-10 | ci/sdl: pump messages for SDL_hidapi so device detection works | Shawn Hoffman | |
| 2022-07-10 | sdl: enable SDL_HINT_JOYSTICK_THREAD | Shawn Hoffman | |
| fixes window message pumping | |||
| 2022-07-10 | ci/sdl: re-add the x360 controller block | Shawn Hoffman | |
| 2022-07-10 | ci/sdl: minor cleanup | Shawn Hoffman | |
| 2022-07-10 | Add SDL motion input and rumble support | Jun Bo Bi | |
| 2022-06-14 | InputCommon: SDL 2.0.22 init crash workaround | TellowKrinkle | |
| See https://github.com/libsdl-org/SDL/pull/5598 | |||
| 2022-01-16 | Use Common::ToLower and Common::ToUpper | Pokechu22 | |
| 2021-07-05 | treewide: convert GPLv2+ license info to SPDX tags | Pierre Bourdon | |
| SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel. | |||
| 2021-06-07 | ControllerInterface: make SDL use PlatformPopulateDevices() | Filoppi | |
| and avoid waiting on SDL async population being finished for no reason | |||
| 2021-05-05 | InputCommon: replace SerialInterface log with ControllerInterface | Filoppi | |
| where appropriate. SerialInterface was a leftover from the past, and makes no sense to be used on actual/real controllers. | |||
| 2021-01-27 | rename InputCommon/ControllerInterface/Device to CoreDevice | Shawn Hoffman | |
| 2020-10-23 | InputCommon: Migrate logging over to fmt | Lioncash | |
| Continues the migration of the logging calls over to the fmt capable ones. | |||
| 2019-06-17 | InputCommon: Use nested namespace specifiers where applicable | Lioncash | |
| 2019-03-17 | ControllerInterface: SDL: Replace unclear bool parameter with enum class. | Jordan Woyak | |
| 2019-03-17 | ControllerInterface: SDL cleanup and FF effect fixes. | Jordan Woyak | |
| 2018-06-04 | Add hotplug support to SDL2 controller backend | Michael M | |
| 2018-06-04 | SDLJoystick: store name on creation | Michael M | |
| Otherwise, Dolphin will crash when the joystick is removed. | |||
| 2016-11-30 | ControllerInterface: replace Reinitialize with RefreshDevices | Michael Maltese | |
| The SDL backend crashes when you close a joystick after SDL_Quit has been called. Some backends don't need to be shutdown and re-initialized everytime, we can just ask to enumerate devices again. | |||
| 2016-07-14 | ControllerInterface: Make the ID assigning code common | Léo Lam | |
| This makes the device ID assigning code common to all backends, by moving it to AddDevice() instead of copy-pasting or replicating the logic in the backends. Also, to prepare for hotplugging, instead of relying on a name usage count, the new ID assigning system always starts from ID 0 and tries to assign the first ID that is not used. | |||
| 2016-06-25 | ControllerInterface: Switch to std::shared_ptr | Léo Lam | |
| Small cleanup by using std::shared_ptr and getting rid of ciface.Devices() which just returned the m_devices (which defeats the point of making m_devices protected). Incidentally, this should make the code safer when we have different threads accessing devices in the future (for hotplug?). A lot of code use Device references directly so there is no easy way to remove FindDevice() and make those unique_ptrs. | |||
| 2016-06-25 | ControllerInterface: Don't pass m_devices to the backends | Léo Lam | |
| Previously, the devices vector would be passed to all backends. They would then manually push_back to it to add new devices. This was fine but caused issues when trying to add synchronisation. Instead, backends now call AddDevice() to fill m_devices so that it is not accessible from the outside. | |||
| 2016-06-24 | Reformat all the things. Have fun with merge conflicts. | Pierre Bourdon | |
