| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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 | |
| 2015-06-08 | Revert "SDL: handle SDL_QUIT event" | Matthew Parlane | |
| 2015-06-05 | SDL: handle SDL_QUIT event | Tillmann Karras | |
| Using SDL_INIT_JOYSTICK implies SDL_INIT_EVENTS which installs a signal handler for SIGINT and SIGTERM. There will be a way to prevent this in 2.0.4 but for now we'll need to handle SDL_QUIT. | |||
| 2015-05-25 | Set copyright year to when a file was created | Tillmann Karras | |
| 2015-05-25 | Update license headers to GPLv2+ | Tillmann Karras | |
| 2015-01-19 | Remove an assumption in SDL. | Ryan Houdek | |
| We can compile with haptic support, and then not initialize due to haptics not being available. So if we are compiling with haptics, test initializing with haptics and if that fails attempt to initialize without haptics before bailing out. | |||
| 2015-01-13 | SDL haptic: minor style change based on review feedback | Adam D. Moss | |
| 2015-01-11 | SDL input: unhardcode a few values. | Adam D. Moss | |
| & change effect length to half a second instead of infinite, in futile attempt to avoid runaway rumbles. | |||
| 2015-01-11 | SDL Input: More minor refactoring of SDL haptic effects | Adam D. Moss | |
| 2015-01-08 | SDL: Refactor the SDL haptic effects a little. | Adam D. Moss | |
| 2015-01-08 | SDL: more global memset | Karol Herbst | |
| 2015-01-06 | SDL Input: Support more types of force feedback for controllers through SDL. | Adam Moss | |
| 2014-12-20 | Manually revert d34418100be19fdbdf112febde3303edd48c9247 | comex | |
