aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/input_common
AgeCommit message (Collapse)Author
2024-02-23android: Play vibrations asynchronouslyt895
2024-02-19scope_exit: Make constexprFearlessTobi
Allows the use of the macro in constexpr-contexts. Also avoids some potential problems when nesting braces inside it.
2024-02-18android: Flip AB/XY for xbox controllers during auto-mappingt895
2024-02-17android: Input mappingt895
2024-01-17input_common: Add android input engineNarr the Reg
2024-01-15Fix more typosViktor Szépe
2024-01-05hid_core: Move hid to it's own subprojectNarr the Reg
2023-11-11core: hid: Split SL and SR buttonsgerman77
2023-10-22input_common: joycon: Move vibrations to a queuegerman77
2023-10-15input_common: udp: Avoid crash when trying to map motion before client is readygerman77
2023-10-02ci: fix new codespell errorsLiam
2023-09-03msvc: set warning level to /W4 globallyDanila Malyutin
And fix a bunch of warnings
2023-08-25Warnings cleanup for GCC 13 and Clang 16comex
Note: For GCC there are still a huge number of `-Warray-bounds` warnings coming from `externals/dynarmic`. I could have added a workaround in `externals/CMakeLists.txt` similar to what this PR does for other externals, but given Dynarmic's close affiliation with Yuzu, it would be better to fix it upstream. Besides that, on my machine, this makes the build warning-free except for some warnings from glslangValidator and AutoMoc. Details: - Disable some warnings in externals. - Disable `-Wnullability-completeness`, which is a Clang warning triggered by the Vulkan SDK where if any pointers in the header are marked _Nullable, it wants all pointers to be marked _Nullable or _Nonnull. Most of them are, but some aren't. Who knows why. - `src/web_service/verify_user_jwt.cpp`: Disable another warning when including `jwt.hpp`. - `src/input_common/input_poller.cpp`: Add missing `override` specifiers. - src/common/swap.h: Remove redundant `operator&`. In general, this file declares three overloads of each operator. Using `+` as an example, the overloads are: - a member function for `swapped_t + integer` - a member function for `swapped_t + swapped_t` - a free function for `integer + swapped_t` But for `operator&`, there was an additional free function for `swapped_t + integer`, which was redundant with the member function. This caused a GCC warning saying "ISO C++ says that these are ambiguous".
2023-07-07input_common: set `SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS` to 0Martino Fontana
This allows to share the mappings between Nintendo and non-Nintendo controllers. Breaks the controller configuration for existing users who are using a Nintendo controller. (Documentation of the hint https://github.com/libsdl-org/SDL/blob/92b3c53c92971e685254fd89f89ce6bde8cea60e/include/SDL_hints.h#L512-L532)
2023-07-05input_common: Avoid potential division by zeroNarr the Reg
2023-07-01Merge pull request #10950 from german77/mouse_tuneliamwhite
input_common: Tune mouse controls
2023-06-30yuzu: Ensure mouse panning can't be enabled with real mouse emulationgerman77
2023-06-29input_common: Allow timeouts to happen while scanning for a ringgerman77
2023-06-28input_common: Tune mouse controlsNarr the Reg
2023-06-28input_common: Remove duplicated DriverResult enumgerman77
2023-06-27Merge pull request #10495 from bm01/masterliamwhite
input_common: Redesign mouse panning
2023-06-27Merge pull request #10679 from zeltermann/wakelock-reasonliamwhite
Only use SDL wakelock on Linux
2023-06-26Merge pull request #10903 from german77/nfc_stateliamwhite
input_common: Improve nfc state handling and 3rd party support
2023-06-24input_common: Dont try to read/write data from 3rd party controllersgerman77
2023-06-24input_common: Make use of new SDL featuresgerman77
2023-06-24Only use SDL wakelock on Linuxzeltermann
SDL has internally fixed shenanigans related to wakelocking through DBus from inside sandboxes from around August 2022, so we can now remove the workaround we used since 2021.
2023-06-21input_common: Implement native mifare supportNarr the Reg
2023-06-15input_common: Add amiibo with originality signature supportNarr the Reg
2023-06-12input_common: Redesign mouse panningBaptiste Marie
2023-06-03input_common: Fix virtual amiibosbunnei
2023-06-03android: Various fixes for CI.bunnei
2023-06-03android: Implement amiibo reading from nfc tagNarr the Reg
2023-06-03android: Add motion sensorNarr the Reg
2023-05-30input_common: rename PAGE_SIZE to avoid conflict12101111
See also: https://github.com/yuzu-emu/yuzu/issues/8779
2023-05-25Merge pull request #10396 from german77/amiibo_writebunnei
input_common: Implement amiibo writing
2023-05-21input_common: Implement amiibo writtingNarr the Reg
2023-05-19input_common: Map motion with relative values not absolute onesgerman77
2023-05-16input_common: Fix pro controller amiibo supportNarr the Reg
2023-05-14input_common: Make amiibo scanning less demandinggerman77
2023-05-09Merge pull request #10119 from marius851000/improved_non_hd_feebackNarr the Reg
Attempt at improving HD Rumble emulation
2023-05-09input_common: Fix nfc detection for joyconsgerman77
2023-05-07core: hid: Update motion on a better placegerman77
2023-05-06Merge pull request #10180 from german77/debugbunnei
input_common: Revert debugging changes
2023-05-06input_common: Revert debugging changesgerman77
2023-05-06Merge pull request #10174 from german77/motriodbunnei
input_common: Add experimental motion to button
2023-05-05input_common: Add experimental motion to buttongerman77
2023-05-05input_common: Add property to invert an axis buttonNarr the Reg
2023-05-05Improve emulation of HD Rumblemarius david
2023-04-14input_common: minor fix to mouse movementValeri
2023-03-12input_common: sdl: Only send last vibration commandgerman77