summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon
AgeCommit message (Collapse)Author
2025-02-15Merge pull request #13320 from jordan-woyak/detect-alternationsJMC47
DolphinQt/Mapping: Add setting to enable waiting for alternate mappings.
2025-02-08Merge pull request #13318 from sanjay900/dont-detach-macosOatmealDome
LibusbDevice: Don't detach kernel drivers on macOS
2025-02-02InputCommon/ExpressionParser: Add compound assignment operators.Jordan Woyak
2025-02-02Merge pull request #13208 from ↵Admiral H. Curtiss
Dentomologist/wiitasinputwindow_update_on_attachment_change WiiTASInputWindow: Update controls when attachment changes
2025-02-02Merge pull request #13315 from jordan-woyak/func-exp-cleanupAdmiral H. Curtiss
InputCommon/ExpressionParser: Function argument parsing minor cleanup.
2025-02-02Merge pull request #13314 from jordan-woyak/input-expressions-assignment-op-fixAdmiral H. Curtiss
InputCommon: Fix input expression assignment operator behavior.
2025-02-02Merge pull request #13280 from jordan-woyak/input-expressions-highlightingJMC47
InputCommon/DolphinQt: Fix sometimes broken syntax highlighting in IOWindow.
2025-02-01DolphinQt/Mapping: Add setting to enable waiting for alternate mappingsJordan Woyak
using the OR-operator.
2025-02-01LibusbDevice: Don't detach kernel drivers on macOSSanjay Govind
2025-01-28InputCommon/ExpressionParser: Make ValidateArguments access existingJordan Woyak
members instead of passing arguments.
2025-01-28InputCommon/ExpressionParser: Make function argument parsing errorJordan Woyak
message more clear.
2025-01-28InputCommon: Fix input expression assignment operator behavior.Jordan Woyak
2025-01-28Merge pull request #13304 from JoshuaVandaele/argsegfaultAdmiral H. Curtiss
Fix segfault when passing invalid arguments
2025-01-27Merge pull request #13178 from jordan-woyak/input-expressions-conditional-opJMC47
InputCommon: Add ternary conditional operator to input expressions.
2025-01-24Fix segfault when passing invalid argumentsJoshua Vandaële
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-19InputCommon/ExpressionParser: Require delimited tokens actually have their ↵Jordan Woyak
terminating delimiter.
2025-01-18WiiTASInputWindow: Update controls when attachment changesDentomologist
Change the displayed controls in the TAS Input window when the controller's extension (including MotionPlus) is changed. This previously required restarting Dolphin after the attachment was changed, as the controls were never updated after the WiiTASInputWindow was created at Dolphin startup.
2025-01-17ExpressionParser: Remove RemoveInertTokens.Jordan Woyak
2025-01-17InputCommon: Make input expression multiline-comment tokenizing less hacky.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::none_of` with rangesmitaclaw
In JitRegCache.cpp, the lambda predicate were replaced by a pointer to member function because ranges algorithms are able to 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. In BoundingBox.cpp, the lambda predicate was returning the bool element unchanged, so `std::identity` was a better fit.
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-12-01Android/GCAdapter: Don't join current threadJosJuice
The read thread could call Reset, which in turn tried to join the read thread, leading to a SIGABRT. This manifested as Dolphin consistently crashing when disconnecting a GC adapter and having a chance of crashing a few seconds after connecting a GC adapter.
2024-11-17Merge pull request #13156 from jordan-woyak/sdl-no-wgiJosJuice
ControllerInterface/SDL: Disable SDL's Windows.Gaming.Input controller handling.
2024-11-07InputCommon: Add ternary conditional operator to input expressions.Jordan Woyak
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-27Merge pull request #13096 from mitaclaw/ranges-modernization-7-rewriteJMC47
Ranges Algorithms Modernization - Rewrite
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-11ControllerEmu: Change trigger threshold check to >= instead of > and set ↵Jordan Woyak
minimum threshold in UI to 1% to prevent user error.
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::set_intersection` with rangesmitaclaw
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::equal` with rangesmitaclaw
2024-10-10Modernize `std::count_if` with rangesmitaclaw
2024-10-09Simplify `std::transform` with `std::ranges::transform_view`mitaclaw