summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface
AgeCommit message (Collapse)Author
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
2019-05-08InputCommon/Device.cpp: Add missing includespycrab
2019-05-08InputCommon/DInput.h: Add missing includespycrab
2019-05-06Reformat repo to clang-format 7.0 rulesTechjar
2019-05-04Replace MathUtil::Clamp with std::clampLéo Lam
2019-04-20ControllerInterface/DInput: Optimize cursor position updating.Jordan Woyak
2019-04-13ControllerInterface: Rename full surface analog inputs to be more visually ↵Jordan Woyak
dissimilar from their underlying inputs. e.g. "Full Axis X+".
2019-04-06Merge pull request #7689 from jordan-woyak/sdl-improveJMC47
ControllerInterface: SDL cleanups/fixes
2019-03-31InputCommon: Fix Win32 init race.Jordan Woyak
2019-03-29ControllerInterface/Win32: Prevent devcies from losing their "id" on a ↵Jordan Woyak
hotplug event.
2019-03-29Add hotplug support to DInput and XInput controller backendsMichael M
2019-03-29Add ControllerInterface::Win32 to wrap XInput and DInputMichael M
2019-03-22Merge pull request #7918 from spycrab/iokit_refactorspycrab
InputCommon/OSX: Refactor IOKit controller interface
2019-03-22InputCommon/OSX: Refactor IOKit controller interfacespycrab
2019-03-21Merge pull request #7906 from jordan-woyak/leak-fixTilka
DolphinQt/InputCommon: Fix a few memory leaks.
2019-03-19ControllerInterface: Unbreak DirectInput POV Hats having bad values on init.Jordan Woyak
2019-03-17DolphinQt/InputCommon: Fix a few memory leaks.Jordan Woyak
2019-03-17ControllerInterface: SDL: Replace unclear bool parameter with enum class.Jordan Woyak
2019-03-17ControllerInterface: SDL cleanup and FF effect fixes.Jordan Woyak
2019-03-03ControllerInterface/DolphinQt: Make mapping "all devices" way less hacky.Jordan Woyak
2019-03-03ControllerInterface: Input detection improvements.Jordan Woyak
2019-02-03Merge pull request #7688 from jordan-woyak/evdev-improveAnthony
ControllerInterface: evdev: Cleanups and effect processing fixes.
2019-01-26Android: Optimize rumble callzackhow
Moved rumble call to IDCache since GetMethodID is expensive
2019-01-19Android: Add touch to move pointer in overlayzackhow
2019-01-17ControllerInterface: evdev: Replace unclear bool parameter with enum class.Jordan Woyak
2019-01-17ControllerInterface: evdev: Cleanup rumble effect processing so effects ↵Jordan Woyak
aren't removed and re-uploaded with every SetState() call. Split the "LeftRight" output into separate "Strong" and "Weak" outputs. Other minor cleanups.
2019-01-16Merge pull request #7693 from jordan-woyak/hotplug-callback-fixLéo Lam
ControllerInterface: Hotplug callback fixes.
2019-01-16Merge pull request #7680 from jordan-woyak/dinput-axis-rangeLéo Lam
DirectInput: Use more than 8 bits of precision on axis inputs.