summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControlGroup
AgeCommit message (Collapse)Author
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.
2020-02-17InputCommon: Add calibration functionality to IMUGyroscope.Jordan Woyak
2020-02-17InputCommon: Add "Dead Zone" setting to raw gyro inputs.Jordan Woyak
2020-02-09InputCommon: Clean up creation of inputs.Jordan Woyak
2020-02-09InputCommon: Eliminate some duplicated button threshold logic.Jordan Woyak
2020-02-08InputCommon: Allow Wii remote extension to be set with an input expression.Jordan Woyak
2020-02-08InputCommon: Allow controller settings specified with input expresions.Jordan Woyak
2020-01-18InputCommon: List IMUAccelerometer's Up/Down inputs first for consistency.Jordan Woyak
2019-11-22InputCommon/IMU*: Remove unnecessary includesLioncash
Trims out unnecessary includes to avoid unnecessary header dependencies. This also resolves indirect inclusions of <optional> within IMUAccelerometer.h and IMUGyroscope.h
2019-11-03Motion Input: Add "enable" checkbox for motion controlled cursor.rlnilsen
2019-11-03Input: Add optional "enable" setting to the ControlGroup class.rlnilsen
The setting is exposed as a check box in the QGroupBox instance that visualises the ControlGroup instance. The setting is saved under "[control group name]/Enabled", but only when it is "false". The default value is "true".
2019-10-30Merge pull request #8438 from JosJuice/tilt-tooltip-stringMat M
Change Wii Remote tilt tooltip string based on translator feedback
2019-10-28Change Wii Remote tilt tooltip string based on translator feedbackJosJuice
2019-10-26Add support for motion controllers via the CemuHook controller input protocol.rlnilsen
This is done by: 1) Implementing said protocol in a new controller input class CemuHookUDPServer. 2) Adding functionality in the WiimoteEmu class for pushing that motion input to the emulated Wiimote and MotionPlus. 3) Suitably modifying the UI for configuring an Emulated Wii Remote.
2019-10-16Merge pull request #8390 from jordan-woyak/wiimote-emu-tilt-fixAnthony
WiimoteEmu: Tilt fixes.
2019-10-15ControllerEmu: Clamp results of trigger/slider states to prevent integer ↵Jordan Woyak
overflow later on.