aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/hid/hid.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "[hle] constexpr handler dispatch maps, introduce version gating ↵PavelBARABANOV2026-10-151-335/+30
| | | | | | | | | | | | | | | | | (#4480)" (#4532) This reverts commit 218c6705d950635bc18f8458d738a1996fb592b6. - [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/4532 Reviewed-by: lizzie <lizzie@eden-emu.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: Maufeat <sahyno1996@gmail.com>
* [hle] constexpr handler dispatch maps, introduce version gating (#4480)lizzie2026-10-131-30/+335
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR primarily focuses on upbringing constexpr maps for handlers. Each time an HLE object of a service is construed, it registers it's own handlers, over and over. Regardless of whetever it needs them at the moment or not. Additionally we don't require to keep track of different function pointers amongst each object. This can be done by overriding the given function instead, as opposed to having a separate hash map for every given object. In other words: Remove handlers (and handlers_tipc) map for every instance then read from a static defined per-class. - [x] Migrate all HLE functions to new `frozen::map` constexpr time finder - [ ] Measure if this approach actually makes better codegen Optional: - [x] Properly gate all functions (that have versions commented next to them) - [x] Maybe store `HandlerFnP<>` and `const char*` separately, version gating can go in a different map as well Information such as name can be used on debug builds, but doesn't particularly help on release as one can consult an external reference (or have an annotated IPC map) Signed-off-by: lizzie <lizzie@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. ------------------- Co-authored-by: Maufeat <sahyno1996@gmail.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4480 Reviewed-by: Maufeat <sahyno1996@gmail.com> Reviewed-by: MaranBr <maranbr@eden-emu.dev>
* [hle/service] stub missing homebrew services, fix NPad/caps crashes (#4264)lizzie2026-08-181-10/+63
| | | | | | | | | | | | | | | | | | Signed-off-by: lizzie <lizzie@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. ------------------- this PR adds various missing services (acc:e, acc:e:u1) to expand homebrew compatibility notably this also fixes NPad related crashes due to nullref Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4264 Reviewed-by: Maufeat <sahyno1996@gmail.com> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
* "Merge Tagged PR 13018"yuzubot2024-03-031-4/+0
|
* service: hid: Migrate hidbus to new interfaceNarr the Reg2024-02-071-1/+1
|
* service: hid: Fully implement touch resourceNarr the Reg2024-01-281-2/+3
|
* service: set: Implement more settings functions for QlaunchNarr the Reg2024-01-251-1/+1
|
* Merge pull request #12660 from german77/better-vibrationliamwhite2024-01-201-0/+1
|\ | | | | service: hid: Fully implement abstract vibration
| * service: hid: Fully implement abstract vibrationNarr the Reg2024-01-151-0/+1
| |
* | service: set: Implement stubbed functionsNarr the Reg2024-01-151-1/+1
|/
* kernel: fix debugger and process list lifetimeLiam2024-01-121-6/+4
|
* Fix typos in src/core (#12625)Viktor Szépe2024-01-081-6/+6
| | | | | | | | | * Fix typos in src/core * Fix typo correction * Fix indentation of MemoryStateNames * Fix indent
* hid_core: Move hid to it's own subprojectNarr the Reg2024-01-051-2/+2
|
* service: hid: Implement NpadResource and NpadDataNarr the Reg2024-01-031-0/+1
|
* service: hid: Introduce proper AppletResource emulationNarr the Reg2023-12-061-0/+8
|
* service: hid: Introduce firmware settings and update activate controller callsNarr the Reg2023-11-161-2/+5
|
* service: hid: Split hid.cpp into individual interfacesNarr the Reg2023-11-151-2841/+15
|
* service: hid: Silence EnableUnintendedHomeButtonInputProtectiongerman772023-11-031-7/+5
|
* core: Close all KEventsgerman772023-10-291-0/+4
|
* Merge pull request #11519 from german77/system-policyliamwhite2023-09-161-7/+24
|\ | | | | service: hid: Implement ApplyNpadSystemCommonPolicy
| * service: hid: Implement ApplyNpadSystemCommonPolicygerman772023-09-161-7/+24
| |
* | hid: service: Implement Last active Npadgerman772023-09-161-1/+1
|/
* service: hid: Implement functions needed by QLaunchNarr the Reg2023-08-111-8/+60
|
* service: hid: Use span instead of vector referencegerman772023-05-141-10/+10
|
* service: hid: Implement SetNpadJoyAssignmentModeSingleWithDestinationgerman772023-03-291-4/+37
| | | | Used by Let's Get Fit
* general: fix spelling mistakesLiam2023-03-121-1/+1
|
* service: move hle_ipc from kernelLiam2023-03-011-114/+114
|
* Merge pull request #9832 from liamwhite/hle-mpliamwhite2023-03-011-8/+13
|\ | | | | service: HLE multiprocess
| * service: refactor server architectureLiam2023-02-211-8/+13
| | | | | | | | Converts services to have their own processes
* | Merge pull request #9859 from liamwhite/tmem-useliamwhite2023-02-271-3/+2
|\ \ | | | | | | service: avoid direct pointer access of transfer memory objects
| * | hid: avoid direct pointer access of transfer memory objectsLiam2023-02-241-3/+2
| |/
* / core: Update service function tables to 16.0.0+Narr the Reg2023-02-241-0/+6
|/
* Merge pull request #9796 from liamwhite/currentliamwhite2023-02-151-4/+4
|\ | | | | general: rename CurrentProcess to ApplicationProcess
| * general: rename CurrentProcess to ApplicationProcessLiam2023-02-131-4/+4
| |
* | service: remove deleted servicesLiam2023-02-141-14/+0
|/
* core: hid: Use gyro thresholds modes set by the gameNarr the Reg2023-02-091-3/+3
|
* service: hid: Return error if arguments of SetSupportedNpadIdType is invalidNarr the Reg2023-02-071-3/+3
|
* Revert "Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span"ameerj2023-02-031-2/+2
| | | | | This reverts commit 153fa289d219c37f8344bccfdf67edc6e579d8c8, reversing changes made to 20676b3b5a1a613af4e498c7cbfdc456339d85a0.
* Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ↵liamwhite2023-02-021-2/+2
| | | | ReadBuffer"
* hle_ipc: Rename ReadBufferSpan to ReadBufferameerj2022-12-281-4/+4
|
* hidbus: Use ReadBufferSpanameerj2022-12-281-1/+1
|
* service: Use ReadBufferSpan where it is trivial to do soameerj2022-12-251-4/+4
|
* service: hid: Only overclock npad controllersgerman772022-11-191-5/+27
|
* general: Fix spelling of "unknown"Morph2022-10-161-1/+1
|
* Merge pull request #8876 from FearlessTobi/multiplayer-part3bunnei2022-10-011-1/+2
|\ | | | | ldn: Implement "local wireless" networked multiplayer
| * yuzu: Multiple room UI improvementsgerman772022-09-101-1/+2
| |
* | service: hid: Partially implement palma controllerNarr the Reg2022-09-251-32/+412
|/
* Demote services from warning/info to debug to reduce log spam:Kelebek12022-09-011-7/+7
| | | | | | | | | | | GetCurrentFocusState SetClockSpeed EnableSixAxisSensorUnalteredPassthrough IsSixAxisSensorUnalteredPassthroughEnabled Get, GetOld SetAndWait, SetAndWaitOld IocParam IocFree
* hid: core: Add missing function table namesgerman772022-08-211-0/+6
|
* service: irs: Move to IRS namespace and minor fixesgerman772022-07-231-2/+2
|