summaryrefslogtreecommitdiff
path: root/src/input_common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* android: Play vibrations asynchronouslyGravatar t8952024-02-234-17/+44
|
* scope_exit: Make constexprGravatar FearlessTobi2024-02-191-1/+3
| | | | | Allows the use of the macro in constexpr-contexts. Also avoids some potential problems when nesting braces inside it.
* android: Flip AB/XY for xbox controllers during auto-mappingGravatar t8952024-02-181-3/+4
|
* android: Input mappingGravatar t8952024-02-174-35/+450
|
* input_common: Add android input engineGravatar Narr the Reg2024-01-176-0/+136
|
* Fix more typosGravatar Viktor Szépe2024-01-156-18/+18
|
* hid_core: Move hid to it's own subprojectGravatar Narr the Reg2024-01-051-1/+1
|
* core: hid: Split SL and SR buttonsGravatar german772023-11-115-19/+27
|
* input_common: joycon: Move vibrations to a queueGravatar german772023-10-222-2/+19
|
* input_common: udp: Avoid crash when trying to map motion before client is readyGravatar german772023-10-151-0/+1
|
* ci: fix new codespell errorsGravatar Liam2023-10-022-2/+2
|
* msvc: set warning level to /W4 globallyGravatar Danila Malyutin2023-09-031-2/+0
| | | | And fix a bunch of warnings
* Warnings cleanup for GCC 13 and Clang 16Gravatar comex2023-08-251-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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".
* input_common: set `SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS` to 0Gravatar Martino Fontana2023-07-072-42/+11
| | | | | | | 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)
* input_common: Avoid potential division by zeroGravatar Narr the Reg2023-07-051-2/+3
|
* Merge pull request #10950 from german77/mouse_tuneGravatar liamwhite2023-07-012-41/+47
|\ | | | | input_common: Tune mouse controls
| * yuzu: Ensure mouse panning can't be enabled with real mouse emulationGravatar german772023-06-302-6/+13
| |
| * input_common: Tune mouse controlsGravatar Narr the Reg2023-06-281-37/+36
| |
* | input_common: Allow timeouts to happen while scanning for a ringGravatar german772023-06-292-3/+4
| |
* | input_common: Remove duplicated DriverResult enumGravatar german772023-06-2819-479/+518
|/
* Merge pull request #10495 from bm01/masterGravatar liamwhite2023-06-272-52/+49
|\ | | | | input_common: Redesign mouse panning
| * input_common: Redesign mouse panningGravatar Baptiste Marie2023-06-122-52/+49
| |
* | Merge pull request #10679 from zeltermann/wakelock-reasonGravatar liamwhite2023-06-271-0/+4
|\ \ | | | | | | Only use SDL wakelock on Linux
| * | Only use SDL wakelock on LinuxGravatar zeltermann2023-06-241-0/+4
| | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #10903 from german77/nfc_stateGravatar liamwhite2023-06-263-14/+37
|\ \ \ | | | | | | | | input_common: Improve nfc state handling and 3rd party support
| * | | input_common: Dont try to read/write data from 3rd party controllersGravatar german772023-06-243-14/+37
| |/ /
* / / input_common: Make use of new SDL featuresGravatar german772023-06-241-8/+20
|/ /
* | input_common: Implement native mifare supportGravatar Narr the Reg2023-06-2113-55/+915
| |
* | input_common: Add amiibo with originality signature supportGravatar Narr the Reg2023-06-152-0/+3
|/
* input_common: Fix virtual amiibosGravatar bunnei2023-06-031-4/+4
|
* android: Various fixes for CI.Gravatar bunnei2023-06-031-10/+10
|
* android: Implement amiibo reading from nfc tagGravatar Narr the Reg2023-06-032-4/+24
|
* android: Add motion sensorGravatar Narr the Reg2023-06-032-1/+27
|
* input_common: rename PAGE_SIZE to avoid conflictGravatar 121011112023-05-301-3/+3
| | | | See also: https://github.com/yuzu-emu/yuzu/issues/8779
* Merge pull request #10396 from german77/amiibo_writeGravatar bunnei2023-05-256-62/+376
|\ | | | | input_common: Implement amiibo writing
| * input_common: Implement amiibo writtingGravatar Narr the Reg2023-05-216-62/+376
| |
* | input_common: Map motion with relative values not absolute onesGravatar german772023-05-191-4/+7
|/
* input_common: Fix pro controller amiibo supportGravatar Narr the Reg2023-05-166-103/+70
|
* input_common: Make amiibo scanning less demandingGravatar german772023-05-143-4/+13
|
* Merge pull request #10119 from marius851000/improved_non_hd_feebackGravatar Narr the Reg2023-05-091-6/+29
|\ | | | | Attempt at improving HD Rumble emulation
| * Improve emulation of HD RumbleGravatar marius david2023-05-051-6/+29
| |
* | input_common: Fix nfc detection for joyconsGravatar german772023-05-094-19/+21
| |
* | core: hid: Update motion on a better placeGravatar german772023-05-071-1/+1
| |
* | Merge pull request #10180 from german77/debugGravatar bunnei2023-05-061-2/+0
|\ \ | | | | | | input_common: Revert debugging changes
| * | input_common: Revert debugging changesGravatar german772023-05-061-2/+0
| | |
* | | Merge pull request #10174 from german77/motriodGravatar bunnei2023-05-061-0/+3
|\ \ \ | |/ / |/| | input_common: Add experimental motion to button
| * | input_common: Add experimental motion to buttonGravatar german772023-05-051-0/+3
| |/
* / input_common: Add property to invert an axis buttonGravatar Narr the Reg2023-05-052-0/+3
|/
* input_common: minor fix to mouse movementGravatar Valeri2023-04-141-1/+1
|
* input_common: sdl: Only send last vibration commandGravatar german772023-03-121-1/+16
|