summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface
AgeCommit message (Collapse)Author
2020-02-24InputCommon: Remove racy UpdateInput call in DetectInput.Jordan Woyak
2020-02-22InputCommon: Constify Device::Input::IsDetectable function.Jordan Woyak
2020-02-17InputCommon: Remove Wii Remote real-time calibration of M+ in favor of ↵Jordan Woyak
functionality provided by ControllerEmu.
2020-02-17InputCommon: Add real Wii Remote support to ControllerInterface. Add option ↵Jordan Woyak
to connect additional Wii Remotes.
2020-02-17InputCommon/ControllerInterface: Make devices mutex recursive so ↵Jordan Woyak
RemoveDevice can be used within UpdateInput.
2020-02-09Merge pull request #8614 from jordan-woyak/xinput-batteryJMC47
InputCommon/XInput: Expose battery as input and cleanups.
2020-02-08Cleanup: Use std::abs instead of abs.Jordan Woyak
2020-02-08InputCommon: XInput cleanups.Jordan Woyak
2020-02-08InputCommon: Expose XInput battery level as an input.Jordan Woyak
2020-02-02Merge pull request #8592 from phcoder/devidLéo Lam
ButtonManager: Fix handling of empty device id.
2020-02-01Merge pull request #8478 from jordan-woyak/dsu-client-cleanupConnor McLaughlin
ControllerInterface/DSUClient: Minor cleanup.
2020-01-29ButtonManager: Fix handling of empty device id.Vladimir Serbinenko
Device id is "" on ChromeOS when using gamepad
2020-01-24InputCommon: Make "Cursor" inputs aware of the rendered aspect ratio.Jordan Woyak
2020-01-13ControllerInterface/DSUClient: Eliminate m_accl/m_gyro state by accessing ↵Jordan Woyak
the pad data directly like every other input.
2020-01-13Merge pull request #8474 from jordan-woyak/dsu-batteryJMC47
ControllerInterface: Exposse DSU client battery level as an input.
2020-01-13ControllerInterface: Remove and re-add device when combining nodes.Jordan Woyak
2020-01-13ControllerInterface: Don't consider the empty string a valid unique ID.Jordan Woyak
2020-01-13ControllerInterface: Combine evdev devices with the same unique ID.Jordan Woyak
This works around Linux drivers for DS4 (Playstation 4) controllers splitting the device into three separate event nodes which makes configuration difficult. To prevent collisions of input names in combined devices more descriptive names are now used when possible.
2020-01-13ControllerInterface: Minor DSU client device cleanups.Jordan Woyak
2020-01-13ControllerInterface: Exposse DSU client battery level as an input.Jordan Woyak
2020-01-07Fix trailing whitespaceScott Mansell
2020-01-07Document the evdev "interesting" heuristic Scott Mansell
Was checking over this old code, and saw a comment calling me out for a lack of documentation. It might be half a decade late, but better late then never.
2019-12-23DualShockUDPClient: downgrade spurious NOTICE_LOGsPierre Bourdon
2019-11-28InputCommon: Decouple ButtonManager and Touchscreen from AndroidOatmealDome
Changes were also made for codestyle compliance.
2019-11-27Merge pull request #8439 from JosJuice/android-native-motion-controlsAnthony
Android: Native motion controls
2019-11-24Merge pull request #8486 from lioncash/dualshockLéo Lam
InputCommon/DualShockUDPClient: Minor cleanup
2019-11-22InputCommon/DualShockUDPClient: Use an alias for the clock typeLioncash
Makes code slightly less verbose without exposing the whole chrono header to the current source file.
2019-11-22InputCommon/DualShockUDPClient: Use deduction guides for lock_guardLioncash
With C++17, we can use template deduction guides provided by the standard library. This allows the omission of the mutex type itself.
2019-11-22InputCommon/DualShockUDPClient: Make use of std::array where applicableLioncash
Provides the same semantics of a C array, but is much nicer to work with. Notably, it makes all cases of performing comparisons with said arrays significantly less reading-involved.
2019-11-22InputCommon/DualShockUDPClient: Relocate settings to top of source fileLioncash
This is a small namespace, so we can move it to the top of the file to get it out of the way of everything else.
2019-11-22InputCommon/DualShockUDPClient: In-class initialize members where applicableLioncash
Deduplicates members within the constructor's initializer list.
2019-11-22InputCommon/DualShockUDPClient: Add missing header guardLioncash
Prevents potential inclusion issues from occurring.
2019-11-22InputCommon: Make use of fmt where applicableLioncash
Continues the migration over to fmt
2019-11-20Android: Let WiimoteEmu know whether we have accelerometer/gyroscopeJosJuice
2019-11-20Android: Native motion controlsJosJuice
2019-11-10evdev: fix bad integer division.Jordan Woyak
2019-11-09InputCommon: Detect when evdev exposes acceleration/gyroscope data.Jordan Woyak
2019-10-27Rename all instances of "CemuhookUDPServer"/"UDPServer" to ↵rlnilsen
"DualShockUDPClient"/"DSUClient".
2019-10-26UDPServer: Add configuration UI.rlnilsen
Accessed through button "Alternate Input Sources" in the "Controller Settings" dialog.
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-08-09Merge pull request #8233 from JosJuice/stringutil-string-viewConnor McLaughlin
StringUtil: Use std::string_view more
2019-08-02InputCommon/DInputJoystick: Correct force-feedback flag testingLioncash
Introduced in a995e2f5ba3bb55b4245675428bbdc3d34cb7355 We need to be performing a bitwise AND on the flags and not a logical AND, otherwise we could end up counting device objects that don't support forced feedback.
2019-07-23StringUtil: Use std::string_view moreJosJuice
2019-06-17InputCommon: Use nested namespace specifiers where applicableLioncash
2019-06-08Merge pull request #8117 from weihuoya/threaded_envConnor McLaughlin
android: get java env from thread local storage
2019-05-29ControllerInterface/Device: Make DetectInput() a const member functionLioncash
This doesn't actually modify object instance state, so it can be made const.
2019-05-29ControllerInterface/Device: Take vector by const reference in DetectInput()Lioncash
The vector is only ever queryied and it's contents aren't modified, so there's no reason to take the vector by value. We can take a constant reference to it to avoid unnecessary allocating.
2019-05-29ControllerInterface/Device: std::move strings in constructor where applicableLioncash
Allows callers to move std::string values into the constructor, potentially avoiding copies.
2019-05-29ControllerInterface/Device: Use std::string_view where applicableLioncash
In these cases, the given string is only ever compared against other string, so std::string can be turned into a std::string_view to allow non-allocating inputs.
2019-05-29android: thread local envweihuoya