summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface
AgeCommit message (Collapse)Author
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.
2019-01-10ControllerInterface: Allow hotplug callbacks to be unregistered and don't ↵Jordan Woyak
reload the entire config from the ini file on hotplug, just update the control references. This should fix a crash on shutdown on Android.
2019-01-08Merge pull request #7666 from jordan-woyak/input-shutdown-fixJosJuice
ControllerInterface: Shutdown order and race condition fix.
2019-01-07Android: Change all analoginputs to just inputszackhow
Android doesn't report values for the inputs generated by FullAnalogInput so there isn't a reason to add them as such. This also avoids a bug(for android) where if there are three inputs(say 12, 11, and 121), and you generate a FullAnalogInput with 12/11 then it will create another input with the name 121 which can cause conficts with the real 121 input. This is probably not an issue on PC since most Axis inputs are named and not numbered.
2019-01-06DirectInput: Use more than 8 bits of precision on axis inputs.Jordan Woyak
2019-01-05ControllerInterface: Set DInput FF effect parameters sanely. This fixes a ↵Jordan Woyak
crash with periodic effects and my GCPad adapter (probably a divide by zero behind the scenes).
2019-01-02ControllerInterface: Shutdown order and race condition fix.Jordan Woyak
2018-12-24ControllerInterface: DInput: Update force feedback effects in a thread. This ↵Jordan Woyak
should prevent slowdowns experienced by a handful of users.
2018-10-29Core: Switch controller interface to render widget on bootingStenzek
Previously, the Qt frontend would initialize the controller interface on starting, resulting in the cursor position being relative to the main window, instead of the render window.
2018-10-29ControllerInterface: Don't crash on non-X11 QPAStenzek
2018-10-08evdev: simplify codeTillmann Karras
No need to check write access if we call open() right after which checks that anyway. Also only get the device name once.