summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControlGroup
AgeCommit message (Collapse)Author
2026-01-25Remove unused importsMartino Fontana
Yellow squiggly lines begone! Done automatically on .cpp files through `run-clang-tidy`, with manual corrections to the mistakes. If an import is directly used, but is technically unnecessary since it's recursively imported by something else, it is *not* removed. The tool doesn't touch .h files, so I did some of them by hand while fixing errors due to old recursive imports. Not everything is removed, but the cleanup should be substantial enough. Because this done on Linux, code that isn't used on it is mostly untouched. (Hopefully no open PR is depending on these imports...)
2026-01-17Fix various typos and spelling mistakesSintendo
2025-10-04WiimoteEmu: Require IRPassthrough has any bound inputs to operate. Users get ↵Jordan Woyak
confused and mistakenly enable it.
2025-08-01Merge pull request #13177 from jordan-woyak/remove-nunchuk-haxAdmiral H. Curtiss
ControllerEmu: Remove nunchuk stick data hax.
2025-07-24InputCommon/ControllerEmu: Fix saving of Wii Remote "Attach MotionPlus" setting.Jordan Woyak
2025-06-09Merge pull request #13702 from CostPerUnit/masterJMC47
MappingWidget: Add Advanced Configuration Button to Point And Point Passthrough "Enable" boxes
2025-05-29InputCommon/DolphinQt: Add advanced settings button for "Point" and "Point ↵CostPerUnit
(Passthrough)" "Enabled" checkboxes.
2025-05-01Make overriding explicit and remove redundant virtual specifiers on ↵Dr. Dystopia
overriding destructors - Core & UnitTests
2025-04-10InputCommon: Activate IMU Accelerometer and Gyroscope when any direction has ↵Jordan Woyak
a bound input.
2025-03-15InputCommon/ControllerEmu: Break out functionality of EmulatedControllerJordan Woyak
to eliminate redundant unused members in Wii Remote extension objects.
2025-02-02Merge pull request #13208 from ↵Admiral H. Curtiss
Dentomologist/wiitasinputwindow_update_on_attachment_change WiiTASInputWindow: Update controls when attachment changes
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.
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-11-05ControllerEmu: Remove nunchuk stick data hax.Jordan Woyak
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-04-15DolphinQt/Mapping: Disable relative input when "Mouse Controlled Pointing" ↵Jordan Woyak
button is pressed.
2024-03-11WiimoteEmu: Add user-accessible controls that report the desired state of ↵Admiral H. Curtiss
the IR camera objects.
2023-06-12ControllerEmu: Convert Translatability to enum classDentomologist
2023-04-13Common/IniFile: Move interface into Common namespaceLioncash
Gets this out of the global namespace and into the Common namespace
2023-02-26InputCommon: Fix ControlGroup::SaveConfig with DefaultValue::DisabledJosJuice
I also changed LoadConfig, but that change doesn't affect correctness, it's only so it looks neat by matching SaveConfig. This bug was added in 18a4afb053e8b5f356e22cfc5aec8cc27700710b, the commit that introduced DefaultValue::Disabled. The bug can't actually be triggered in master, but it can be triggered in the Android input overhaul PR.
2022-10-03ControllerEmu: Add new "input override" systemJosJuice
2022-07-07Merge pull request #9147 from jordan-woyak/imu-accel-weight-settingAdmiral H. Curtiss
WiimoteEmu: Expose IMU pointing accelerometer weight setting.
2022-06-26ControllerEmu: Allow settings to be categorized as "advanced". Make "Virtual ↵Jordan Woyak
Notches" and "Gate Size" categorized as such.
2022-06-26ControllerEmu: Expose gate size setting for octagon analog sticks.Jordan Woyak
2022-06-13WiimoteEmu: Expose IMU pointing accelerometer weight setting.Jordan Woyak
2022-01-04InputCommon: Use value of "Modifier" button "Range" setting rather than ↵Jordan Woyak
always applying 50%. Make "Clear" button reset "Modifier" "Range" settings to 50%.
2021-12-23ControllerEmu: Hide the cursor if the input gate is disabledPokechu22
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre 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-05-19IMUGyroscope: make GetState update optional (on by default), fix const, ↵Filoppi
clean code My future PRs will split the UI state from the Emulation State of some of these emulated controller values and this readies the code for it.
2021-05-19InputCommon: improve code that returns a controller attachment indexFiloppi
casting a value to a u32 when it's originally an int, and it's exposed as int to users, could end up in cases where a negative number would result as a positive one. This doesn't really affect the value range of the attachment enum, still I think the code was wrong. Heavily tested.
2021-05-19IMUAccelerometer: consistency of BoundCount checksFiloppi
Similar to the guitar, only control[0] was checked, and that felt random.
2021-05-14Merge pull request #9688 from Filoppi/input_cleanupScott Mansell
Input cleanup
2021-05-12InputCommon: clamp the attachment setting max to its actual enum maxFiloppi
NumericSettings support a max, so let's use it. It might not do much now, but the max and min values will be used to give visual feeback in the UI in one of my upcoming input PRs
2021-05-12Add mixed comments to input code, make some tooltip clearerFiloppi
2021-05-12InputCommon: fix serialization of control expression with line breaksFiloppi
The control expression editor allows line breaks, but the serialization was losing anything after the first line break (/r /n). Instead of opting to encode them and decode them on serialization (which I tried but was not safe, as it would lose /n written in the string by users), I opted to replace them with a space.
2021-05-10InputCommon: follow coding conventions and rename GetState() to UpdateState()Filoppi
And remove useless include
2021-05-10InputCommon: add a ton of missing constsFiloppi
fix some related grammar errors only the ButtonManager required code changes
2021-03-17InputCommon: Allow for partial gyro mapping; for Free Look, this allows you ↵iwubcode
to only pitch or only yaw
2021-01-27rename InputCommon/ControllerInterface/Device to CoreDeviceShawn Hoffman
2020-11-17Remove a redundant i18n commentJosJuice
2020-11-03Virtual Notch settings and UI for octagonal stickNick Michael
2020-10-19WiimoteEmu: Tweak IMUCursor total yaw setting tool-tip.Jordan Woyak
2020-09-28ControllerEmu: Increase "IMUPointer" "Total Yaw" default value to match that ↵Jordan Woyak
of regular "Point" settings. Removed "Total Yaw" from included Wii remote input profile to take on the default value.
2020-09-28ControllerEmu: Increase Total Yaw/Pitch default values to compensate for new ↵Jordan Woyak
FOV and to reach screen edges in the Wii Menu.
2020-08-08Fix various -Wshadow warningsTillmann Karras
2020-07-11WiimoteEmu: Allow writes of the i2c bus to play speaker data.Jordan Woyak
2020-04-27Android: Use touch emulation of IR by defaultJosJuice
While having motion control emulation of IR enabled by default makes sense in situations like using a DualShock 4 on a PC, Android has the additional option of touch emulation of IR which seems to be better liked, and the default value which was chosen with PC in mind was carried over to Android without any particular consideration. This change disables motion control emulation of IR by default on Android only.
2020-02-24DolphinQt: Clean up mapping indicator code and draw lines on "pixel centers".Jordan Woyak
2020-02-17InputCommon: Add real Wii Remote support to ControllerInterface. Add option ↵Jordan Woyak
to connect additional Wii Remotes.