summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface
AgeCommit message (Collapse)Author
2025-03-09Modernize `std::stable_sort` with ranges and projectionsmitaclaw
2025-03-02InputCommon: Use Clock from CommonTypes.Jordan Woyak
2025-02-25Migrate to SFML>=3.0.0Joshua Vandaële
2025-02-01DolphinQt/Mapping: Add setting to enable waiting for alternate mappingsJordan Woyak
using the OR-operator.
2025-01-21InputCommon: Add support for SDL gamecontroller rumble triggers.Jordan Woyak
2025-01-21InputCommon: Make SDL Motor L/R Outputs not fight each other.Jordan Woyak
2025-01-01InputCommon: Move input mapping function into a class for non-blocking usage.Jordan Woyak
2025-01-01Simplify `std::find` with `Common::Contains`mitaclaw
In NandPaths.cpp, the `std::initializer_list<char>` of illegal characters has been turned into a `char[]` (similar to the one in GameList.cpp). The reverse iteration in ResourcePack.cpp seemed to provide no benefits, and doing without it it seemed to have no ill effects.
2024-12-26Merge pull request #13116 from mitaclaw/ranges-modernization-8-trivial-ofJMC47
Ranges Algorithms Modernization - Of
2024-12-20Merge pull request #13091 from mitaclaw/ranges-modernization-2-returnsJMC47
Ranges Algorithms Modernization - Return
2024-12-15Modernize `std::any_of` with rangesmitaclaw
In WiimoteReal.cpp, JitRegCache.cpp, lambda predicates were replaced by pointers to member functions because ranges algorithms are able invoke those. In ConvertDialog.cpp, the `std::mem_fn` helper was removed because ranges algorithms are able to handle pointers to member functions as predicates.
2024-12-15Modernize `std::all_of` with rangesmitaclaw
In DITSpecification.cpp, MaterialAsset.cpp, and ShaderAsset.cpp, lambda predicates were replaced by pointers to member functions because ranges algorithms are able invoke those. In NetPlayClient.cpp, the non-trivial `NetPlay::Player` elements were being passed by value in `NetPlayClient::DoAllPlayersHaveGame()`. This has been fixed. In WIABlob.cpp, the second example's predicate was returning the `std::optional` by value instead of implicitly converting it to a bool. This has been fixed.
2024-12-04InputCommon/SDL: Add touchpad inputs.Jordan Woyak
2024-12-04Merge pull request #13174 from jordan-woyak/sdl-batteryJMC47
ControllerInterface/SDL: Add Battery Input.
2024-11-17Merge pull request #13156 from jordan-woyak/sdl-no-wgiJosJuice
ControllerInterface/SDL: Disable SDL's Windows.Gaming.Input controller handling.
2024-11-04ControllerInterface/SDL: Add Battery Input.Jordan Woyak
2024-11-03InputCommon: Move FullAnalogSurface class definition out of header file.Jordan Woyak
2024-11-03InputCommon: Rename AddAnalogInputs to AddFullAnalogSurfaceInputs.Jordan Woyak
2024-11-02InputCommon: Disable DualSense Player LEDdreamsyntax
2024-10-31ControllerInterface/SDL: Fix device removal event processing.Jordan Woyak
2024-10-30ControllerInterface/SDL: Disable SDL's Windows.Gaming.Input controller handling.Jordan Woyak
2024-10-17Modernize `std::unique` with rangesmitaclaw
The new return value is `std::ranges::subrange`.
2024-10-15Merge pull request #13090 from mitaclaw/ranges-modernization-1-trivialJosJuice
Ranges Algorithms Modernization - Trivial
2024-10-10C++20: Synthesize `operator!=` From `operator==`mitaclaw
The inequality operator is automatically generated by the compiler if `operator==` is defined.
2024-10-10Modernize `std::sort` with rangesmitaclaw
2024-10-10Modernize `std::fill` with rangesmitaclaw
In DSPCore.cpp, there were two `std::fill` uses that could be simplified using `std::fill_n`. Due to their proximity with other `std::fill` algorithms being modernized with ranges, I chose to make these examples into the rare `std::ranges::fill_n`.
2024-10-10Modernize `std::count_if` with rangesmitaclaw
2024-09-22StringUtil: Remove `JoinStrings`mitaclaw
With 12 uses of `JoinStrings` in the codebase vs 36 uses of `fmt::join`, fmtlib's range adapter for string concatenation with delimiters is clearly the preferred option.
2024-08-20Remove redundant semicolonsDr. Dystopia
2024-08-15Misc. Container Find Changesmitaclaw
2024-08-15Use 'contains' methodmitaclaw
2024-08-14Use 'contains' methodDr. Dystopia
2024-07-26Adjust order and spacing of various #includesDentomologist
Move some #includes around to match the Contributing guidelines.
2024-07-21Use C++20 erase_if() instead of erase(remove_if()) (NFC)Tillmann Karras
2024-06-15Merge pull request #12850 from jordan-woyak/device-sortingAdmiral H. Curtiss
ControllerInterface: Adjust sort priorities to ensure default keyboard-mouse device is first.
2024-06-15ControllerInterface: Adjust sort priorities to ensure default keyboard-mouse ↵Jordan Woyak
device is first.
2024-05-31TAS Input: Enable hotkeys and controller input when Input has focusDentomologist
Enable emulator hotkeys and controller input (when that option is enabled) when a TAS Input window has focus, as if it was the render window instead. This allows TASers to use frame advance and the like without having to switch the focused window or disabling Hotkeys Require Window Focus which also picks up keypresses while other apps are active. Cursor updates are disabled when the TAS Input window has focus, as otherwise the Wii IR widget (and anything else controlled by the mouse) becomes unusable. The cursor continues to work normally when the render window has focus.
2024-04-13Android/ControllerInterface: Run the init codeJosJuice
This was broken by a9a9fdd9e9. Because Init didn't run, the Android input backend would crash whenever it tried to call into JVM code.
2024-04-13Merge pull request #12632 from jordan-woyak/input-backend-implsTilka
Implement missing InputBackend classes.
2024-04-06evdev: close file descriptors in a separate threadTillmann Karras
For some reason Linux is surprisingly slow at closing file descriptors of event devices. This commit improves GUI startup times on my computer by about 1.5 seconds.
2024-04-01Merge pull request #12631 from jordan-woyak/remove-osx-input-leftoversOatmealDome
InputCommon: Remove some IOKit leftovers.
2024-03-14SDL: Remove duplicate button/hat Inputs. Hide duplicate Axis Inputs.Jordan Woyak
2024-03-14ControllerInterface: Add IsHidden function to Control interface.Jordan Woyak
2024-03-14SDL: Deduplicate Motor logic with templates.Jordan Woyak
2024-03-14SDL: Move class definition out of header.Jordan Woyak
2024-03-11InputCommon/WiimoteController: Add inputs that report the raw IR objects ↵Admiral H. Curtiss
seen by the Wiimote.
2024-03-11InputCommon: Add Android InputBackend class.Jordan Woyak
2024-03-11InputCommon: Handle window change in Quartz.Jordan Woyak
2024-03-11InputCommon: Implement xlib window change logic.Jordan Woyak
2024-03-11InputCommon: Add Win32 InputBackend class.Jordan Woyak