aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/helpers
Commit message (Collapse)AuthorAgeFilesLines
* [*] fix clangarm64 compilation (#4521)crueter2026-10-112-1/+3
| | | | | | | | | | | | | | | seems like a lot less headers are pulling in vector Signed-off-by: crueter <crueter@eden-emu.dev> - [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions). - [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md) - [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability. ------------------- Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4521 Reviewed-by: lizzie <lizzie@eden-emu.dev>
* [hid_core, input_common] use std::numbers::pi{_v} instead of re-defining (#4160)lizzie2026-07-071-47/+19
| | | | | | | | | | don't reinvent the wheel, simple as that. Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4160 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
* [externals] Update to SDL3 (#3952)Kaydax2026-05-181-1/+4
| | | | | | | | | | | | | | | | | | | | Since the launch of the steam controller I think it's only best to push towards updating to SDL3 allowing for a wider range of controller support I went ahead and started on getting it working. Everything here should be functional, I've personally tested it all on Arch Linux. Still untested on windows, so looking for feedback on that Any feedback and help would be appreciated! Main changes: - Bump everything to SDL3 - Handle SDL3 audio and input - Add steam controller support, including HD Rumble - Improved battery reporting via the status icon by using real % rather than state alone Co-authored-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3952 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: Lizzie <lizzie@eden-emu.dev>
* [common/logging] Simplify logging logic and fix issues when logging before ↵lizzie2026-03-129-12/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | system is created (#3688) - our logging code was bigger than spdlog itself, why???? just keep it simple - fix issues when logging before logging system is even started - removes the "initialized logging twice" issue - removes uneeded indirection in file logging - uses direct formatting instead of jumping hoopla-around the fmt::format() ressult - code duplication and dead code removal as usual I did explore dup2() but I think it's not worth the hassle I did try `fwopen()` but it's better if things are just kept as-is. there is a lot of noise because I removed a bunch of redundant files on logging and just put everything in one file now normally this wouldn't be a good idea, however consider: the complexity of logging; it's less than 500 lines... does it really need a whole subsystem?!?!?! ITS JUST LOGGING Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3688 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: DraVee <chimera@dravee.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [chore] Fixed a couple memory leaks using up ~15 MB each iteration (#398)Gamer642025-12-261-0/+3
| | | | | | | | | | | Co-authored-by: Jarrod Norwell <official.antique@gmail.com> Co-authored-by: Gamer64 <76565986+Gamer64ytb@users.noreply.github.com> Co-authored-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/398 Reviewed-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Reviewed-by: Lizzie <lizzie@eden-emu.dev> Co-authored-by: Gamer64 <gamer64@eden-emu.dev> Co-committed-by: Gamer64 <gamer64@eden-emu.dev>
* [meta] fix license headers (#2547)lizzie2025-09-213-0/+9
| | | | | | | Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2547 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [cmake] enable clang-cl and WoA builds (#348)lizzie2025-09-093-9/+9
| | | | | | | | | | | | | | Compilation and CMake fixes for both Windows on ARM and clang-cl, meaning Windows can now be built on both MSVC and clang on both amd64 and aarch64. Compiling on clang is *dramatically* faster so this should be useful for CI. Co-authored-by: crueter <crueter@eden-emu.dev> Co-authored-by: crueter <crueter@crueter.xyz> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/348 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* scope_exit: Make constexprFearlessTobi2024-02-191-1/+3
| | | | | Allows the use of the macro in constexpr-contexts. Also avoids some potential problems when nesting braces inside it.
* Fix more typosViktor Szépe2024-01-155-16/+16
|
* input_common: joycon: Move vibrations to a queuegerman772023-10-222-2/+19
|
* ci: fix new codespell errorsLiam2023-10-021-1/+1
|
* input_common: Allow timeouts to happen while scanning for a ringgerman772023-06-292-3/+4
|
* input_common: Remove duplicated DriverResult enumgerman772023-06-2817-459/+500
|
* input_common: Dont try to read/write data from 3rd party controllersgerman772023-06-243-14/+37
|
* input_common: Implement native mifare supportNarr the Reg2023-06-217-27/+588
|
* input_common: rename PAGE_SIZE to avoid conflict121011112023-05-301-3/+3
| | | | See also: https://github.com/yuzu-emu/yuzu/issues/8779
* input_common: Implement amiibo writtingNarr the Reg2023-05-215-60/+370
|
* input_common: Fix pro controller amiibo supportNarr the Reg2023-05-164-98/+63
|
* input_common: Make amiibo scanning less demandinggerman772023-05-143-4/+13
|
* input_common: Fix nfc detection for joyconsgerman772023-05-094-19/+21
|
* general: fix spelling mistakesLiam2023-03-124-7/+7
|
* input_common: Minor typo issues (#9922)Narr the Reg2023-03-085-44/+44
|
* input_common: joycon: Add stick input from passive reportsgerman772023-03-053-32/+84
|
* input_common: Reintroduce custom pro controller supportNarr the Reg2023-02-091-1/+2
|
* input_common: Simplify stick from buttonNarr the Reg2023-02-021-32/+13
|
* input_common: joycon: Remove Magic numbers from common protocolNarr the Reg2023-01-299-154/+221
|
* input_common: joycon: Fill missing enum dataNarr the Reg2023-01-294-37/+51
|
* Move to Clang Format 15Levi Behunin2023-01-291-2/+2
| | | | | | Depends on https://github.com/yuzu-emu/build-environments/pull/69 clang-15 primary run
* input_common: joycon: Replace ReadSPI vector with spanNarr the Reg2023-01-273-20/+26
|
* input_common: joycon: Remove magic numbers from calibration protocolNarr the Reg2023-01-276-107/+202
|
* input_common: Implement SetLowPowerMode and TriggersElapsed for the joycon ↵Narr the Reg2023-01-264-0/+21
| | | | driver
* Revert 9617 and fix it on input_commonNarr the Reg2023-01-251-2/+7
|
* input_common: Address byte reviewgerman772023-01-2013-217/+193
|
* input_common: Drop Pro controller support from custom drivergerman772023-01-191-3/+1
|
* input_common: Fix issue where ring and irs are enabled at the same timegerman772023-01-193-12/+23
|
* input_common: Implement joycon ir cameraNarr the Reg2023-01-199-5/+553
|
* yuzu: Add ring controller test buttongerman772023-01-192-13/+27
|
* input_common: Use DriverResult on all enginesgerman772023-01-193-18/+19
|
* Address review commentsgerman772023-01-1912-41/+41
|
* core: hid: Fix input regressionsNarr the Reg2023-01-192-4/+1
|
* input_common: Implement joycon nfcgerman772023-01-196-11/+537
|
* input_common: Add support for joycon ring controllerNarr the Reg2023-01-198-4/+270
|
* input_common: Add support for joycon input reportsNarr the Reg2023-01-196-77/+770
|
* input_common: Use calibration from joyconNarr the Reg2023-01-194-0/+229
|
* input_common: Add support for joycon generic functionsNarr the Reg2023-01-194-3/+308
|
* input_common: Add joycon low level functionsNarr the Reg2023-01-192-0/+432
|
* input_common: Initial skeleton for custom joycon driverNarr the Reg2023-01-193-0/+1022
|
* input_common: Create an update engineNarr the Reg2023-01-051-6/+11
|
* Merge pull request #9338 from lioncash/propertiesMorph2022-11-282-2/+18
|\ | | | | input_common/helpers: Mark analog property structs members as static constexpr
| * input_common/helpers: Mark analog property structs members as static constexprLioncash2022-11-282-2/+18
| | | | | | | | | | These are const with no dependency on any other data members, so we can make these static constexpr to reduce the overall object size.