summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControlGroup
AgeCommit message (Collapse)Author
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.
2019-10-06WiimoteEmu: Change default tilt angle to 85 degrees.Jordan Woyak
2019-10-06WiimoteEmu: Expose maximum tilt acceleration.Jordan Woyak
2019-06-10Added key for relative inputMatthew Foulds
2019-05-14Merge pull request #8087 from spycrab/cmake_win2019spycrab
Support CMake on Windows
2019-05-08WiimoteEmu/DolphinQt: Rename "IR" to "Point" and eliminate redundant ↵Jordan Woyak
Forward/Backward mappings.
2019-05-08InputCommon/ControlGroup.h: Add missing includespycrab
2019-05-04Replace MathUtil::Clamp with std::clampLéo Lam
2019-04-23WiimoteEmu: Improve emulated swing.Jordan Woyak
2019-04-23WiimoteEmu: Implement MotionPlus parameter y0 and other cleanups.Jordan Woyak
2019-04-15Merge pull request #8002 from JMC47/CursorSlowdownJMC47
Slow down relative input cursor
2019-04-15Reduce Relative Input Cursor Speed DramaticallyJMC47
This makes it about 1/4th the speed which may be a bit slow, but should work for most controllers.
2019-04-12WiimoteEmu: Allow shake frequency and intensity to be configured. Other ↵Jordan Woyak
minor cleanups.
2019-04-07InputCommon: Clean up how numeric settings are handled. Add units of measure ↵Jordan Woyak
to UI. Eliminate hidden magic values of the IR cursor.
2019-03-03WiimoteEmu: Reimplement tilt/swing/camera/orientation data using matrix math.Jordan Woyak