summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface
AgeCommit message (Collapse)Author
2021-03-01Merge pull request #9492 from nolange/fix_norandr_buildLéo Lam
Cleanup X11 and XRANDR Macros
2021-02-26Common: don't call OnConfigChanged() unless it has actually changedFiloppi
DualShock UDP Client is the only place in the code that assumed OnConfigChanged() is called at least once on startup or it won't load up the setting, so I took care of that
2021-02-22Cleanup X11 and XRANDR MacrosNorbert Lange
This fixes build with X11 enabled and XRANDR disabled.
2021-01-27rename InputCommon/ControllerInterface/Device to CoreDeviceShawn Hoffman
2021-01-27rename ciface::Wiimote to ciface::WiimoteControllerShawn Hoffman
2021-01-05Merge pull request #9418 from Filoppi/patch-10Léo Lam
Fix DualShockUDP not adding/removing devices correctly
2021-01-03Fix DualShockUDP not adding/removing devices correctlyFilippo Tarpini
-If adding 2 devices with the same name, they their unique id wouldn't be increased, causing a conflict. -Removing a device wouldn't actually remove it from the internal devices list because the list of devices had already been updated when going through it. -It was possible to remove devices belonging to other sources by adding a device with the same name and then removing it.
2021-01-02Fix Quartz cursor going to +infinite if the window size was 0Filippo Tarpini
2021-01-02Fix DInput cursor going to +infinite if the window size was 0Filippo Tarpini
2021-01-02Fix XInput2 cursor going to +infinite if the window size was 0Filippo Tarpini
2020-12-13InputCommon: Fix callback dispatch deadlockseth
Make sure m_is_populating_devices is true when a WM_INPUT_DEVICE_CHANGE event is received directly on the ciface thread, so that callbacks do not occur while removing devices. This breaks a hold-and-wait deadlock between the ciface thread and the CPU thread when using emulated Wiimotes. Co-authored-by: brainleq <brainleq@users.noreply.github.com> Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
2020-10-23InputCommon: Migrate logging over to fmtLioncash
Continues the migration of the logging calls over to the fmt capable ones.
2020-10-21Merge pull request #9162 from jordan-woyak/quaternionLC
Replace stateful rotational matrices with quaternions.
2020-10-19InputCommon/WiimoteEmu: Replace stateful rotational matrices with quaternions.Jordan Woyak
2020-10-19Linux/XInput2: Fix keys being stuck pressed on focus loss.Jordan Woyak
2020-09-28ControllerInterface/Wiimote: Add "IR Distance" input providing a calculated ↵Jordan Woyak
distance from sensor bar in meters.
2020-09-25InputCommon: Improve input detection to produce buton combinations.Jordan Woyak
2020-09-25InputCommon: Make hotkeys and input detection aware of Ctrl -> L_Ctrl / ↵Jordan Woyak
R_Ctrl hierarchy.
2020-09-25ControllerInterface: Add platform consistent names for modifier keys.Jordan Woyak
2020-09-25InputCommon: Support detecting combinations of inputs. (Hotkeys)Jordan Woyak
2020-09-20Merge pull request #8840 from Techjar/evdev-combining-physJordan Woyak
ControllerInterface: Combine evdev devices with the same physical location in addition to unique ID
2020-09-14Merge pull request #8985 from jordan-woyak/btemu-cleanupJMC47
BTEmu/Wiimote: Fixes and Cleanups.
2020-09-08ControllerInterface: Combine evdev devices with the same physical location ↵Techjar
in addition to unique ID
2020-08-22name some threadsShawn Hoffman
2020-08-16BTEmu/Wiimote: Cleanups/Fixes.Jordan Woyak
2020-08-08Merge pull request #8804 from iwubcode/dsu-improvementsTilka
DolphinQt / InputCommon - Support multiple DSU servers
2020-07-18Merge pull request #8905 from JosJuice/jni-encodingLC
Android: Use correct encoding when converting strings
2020-07-17DolphinQt / InputCommon - add DSU string validator to avoid crashes, limited ↵iwubcode
backwards compatibility support
2020-07-17DolphinQt / InputCommon: Support multiple DSU serversiwubcode
2020-07-11ControllerInterface/Wiimote: Provide fallback values for extensions with bad ↵Jordan Woyak
calibration data.
2020-07-08Common: Rename UTF16ToUTF8JosJuice
This function does *not* always convert from UTF-16. It converts from UTF-16 on Windows and UTF-32 on other operating systems. Also renaming UTF8ToUTF16 for consistency, even though it technically doesn't have the same problem since it only was implemented on Windows.
2020-07-08Merge pull request #8907 from JosJuice/android-overlay-stick-gateLC
Android: Use octagonal stick gate in overlay
2020-06-28WiimoteCommon: Tweak battery level math.Jordan Woyak
2020-06-29Android: Enfore correct stick gate in overlayJosJuice
Currently, the touch controller overlay uses a square gate for sticks. This commit changes that so that it instead uses the stick gate configured in the INI, which ensures that the values sent to the core are appropriately scaled regardless of what is configured in the INI and makes the overlay look nicer if the INI is set to a stick gate that matches the graphics.
2020-05-09Apply fixes to all platformsThomas May
2020-05-06Update ControllerInterface.cppThomas May
2020-05-02Remove redundant Config prefix from ConfigInfo/ConfigLocationLéo Lam
Both structs are already in the Config namespace.
2020-04-27Merge pull request #8696 from howard0su/cleanup_shadowLéo Lam
Cleanup warnings of -Wmissing-declarations
2020-03-24Cleanup warnings of -Wmissing-declarationsJun Su
Add static to the functions which is not intentionally export to big scope.
2020-03-23InputCommon: cleanup warnings of -Wclass-memaccessJun Su
Initialize m_state with the default constructor.
2020-03-11Common: Add a render_window field to WindowSystemInfoStenzek
We need this because we need to pass the layer to MoltenVK, not the view handle. But the input subsystem still needs the window.
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