summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon
AgeCommit message (Collapse)Author
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-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-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
2024-10-09Simplify `std::fill` with `std::array::fill`mitaclaw
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-08-07Merge pull request #12961 from JosJuice/expression-parser-translationTilka
InputCommon: Translate ExpressionParser error messages
2024-07-28InputCommon: Translate ExpressionParser error messagesJosJuice
The _trans macro marks strings for translation but doesn't do anything at runtime. For that, we need to use a function like GetStringT.
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-06-15Merge pull request #12818 from iwubcode/json_file_operationsAdmiral H. Curtiss
Common: add Json helper utilities for loading or saving to a file
2024-05-31InputCommon / VideoCommon: update to use new JsonFromFile functioniwubcode
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-05-21Merge pull request #12711 from jordan-woyak/modifier-range-ini-defaultAdmiral H. Curtiss
InputCommon: Fix unnecessary "Modifier/Range" ini file entries.
2024-04-22port to OpenBSDGuilherme Janczak
2024-04-15InputCommon: Fix unnecessary "Modifier/Range" ini file entries.Jordan Woyak
2024-04-15DolphinQt/Mapping: Disable relative input when "Mouse Controlled Pointing" ↵Jordan Woyak
button is pressed.
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-12NumericSetting: Stop values from binding to numbered input names.Jordan Woyak
2024-04-12ExpressionParser: Support unary plus operator.Jordan Woyak
2024-04-08Core::GetState: Avoid Global System Accessormitaclaw
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-31Merge pull request #12640 from jordan-woyak/sdl-cleanupAdmiral H. Curtiss
SDL: Cleanups
2024-03-20GCAdapter: Adjust libusb transfer timeout to 100ms.Jordan Woyak
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-11WiimoteEmu: Add user-accessible controls that report the desired state of ↵Admiral H. Curtiss
the IR camera objects.