aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/drivers/mouse.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [input] Fix mouse drift on Qt/SDL frontends (#4352)lizzie2026-09-141-57/+50
| | | | | | | | | | | | | | | | | | Fixes regression from #4229 Mouse wasn't updated periodically to prevent "infinite drift". Timer for polling is now controlled by frontend directly, this should reduce latency considerably and wasted cycles spinwaiting, it also removes an extra thread which is always welcome. - [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/4352 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: MaranBr <maranbr@eden-emu.dev>
* [common] remove unused vector_math.h fluff (#4333)lizzie2026-09-081-43/+36
| | | | | | | | | | | | | | | | | 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. ------------------- We don't use half of this file for anything -- it's dead code also the NEON intrinsic replacements suck -- we are not beating GLM (plus we use registers for decomposition instead of using vec regs like everyone else does, so the "optimizations" dont matter) Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4333 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: Maufeat <sahyno1996@gmail.com>
* [core/hle/services/am] nuke ButtonPoller and Mouse thread (#4229)lizzie2026-07-261-10/+6
| | | | | | | | | | | | | | | | | 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. ------------------- doesn't even do anything now, please check if controller i/o is affected by this change this should also fix latency issues with the mouse the ButtonPoller thread isn't longer required since we update the state immediately with the .on_change callback registered Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4229 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
* [sdl]Mouse Panning Regression Fix (#3181)John2025-12-191-1/+1
| | | | | | | | | | Fix the mouse panning issues Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3181 Reviewed-by: Lizzie <lizzie@eden-emu.dev> Reviewed-by: Maufeat <sahyno1996@gmail.com> Co-authored-by: John <john@eden-emu.dev> Co-committed-by: John <john@eden-emu.dev>
* [sdl] fix mouse panning delay (#3174)lizzie2025-12-191-1/+1
| | | | | | | | Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3174 Reviewed-by: Caio Oliveira <caiooliveirafarias0@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>
* [input_common/mouse, sdl_driver] increase latency of mouse and SDL_vibration ↵lizzie2025-12-041-13/+9
| | | | | | | | | | | | | | threads to 4 "evals" per sec (#2982) No need to have those nano-sleeps for these threads... Signed-off-by: lizzie lizzie@eden-emu.dev Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2982 Reviewed-by: Caio Oliveira <caiooliveirafarias0@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>
* [meta] fix license headers (#2547)lizzie2025-09-211-0/+3
| | | | | | | 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-091-2/+2
| | | | | | | | | | | | | | 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>
* Update fmt to allow for v11crueter2025-04-101-1/+1
| | | Signed-off-by: swurl <swurl@swurl.xyz>
* input_common: Avoid potential division by zeroNarr the Reg2023-07-051-2/+3
|
* yuzu: Ensure mouse panning can't be enabled with real mouse emulationgerman772023-06-301-6/+11
|
* input_common: Tune mouse controlsNarr the Reg2023-06-281-37/+36
|
* input_common: Redesign mouse panningBaptiste Marie2023-06-121-50/+49
|
* input_common: minor fix to mouse movementValeri2023-04-141-1/+1
|
* general: fix spelling mistakesLiam2023-03-121-2/+2
|
* input_common: Increase mouse sensitivity rangegerman772023-03-071-9/+18
|
* input_common: Implement dedicated motion from mouseNarr the Reg2023-02-211-16/+78
|
* input_common: Split mouse input into individual devicesNarr the Reg2023-02-161-20/+47
|
* general: fix compile for Apple ClangLiam2022-11-221-1/+0
|
* common: remove "yuzu:" prefix from thread namesLiam2022-10-031-1/+1
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* general: Rename NewUUID to UUID, and remove the previous UUID implMorph2022-02-051-1/+1
| | | | This completes the removal of the old UUID implementation.
* input/hid: Migrate to the new UUID implementationMorph2022-02-051-1/+1
|
* Merge pull request #7725 from german77/mouse_in_motionbunnei2022-01-181-1/+32
|\ | | | | input_common: Reintroduce motion from mouse and use button names
| * input_common: Reintroduce motion from mouse and use button namesgerman772022-01-161-1/+32
| |
* | input_common: fix copy-paste errorValeri2022-01-171-1/+1
|/ | | Found by static analysis with PVS-Studio.
* input_engine: std::move engine name where applicableLioncash2021-12-131-1/+1
| | | | | We can allow the name to be moved into, allowing allocations to be avoided.
* input_common: Move button names to the frontendgerman772021-11-241-3/+6
|
* kraken: Address comments from reviewgerman772021-11-241-1/+1
| | | | Fix compiler bug
* core/hid: Improve accuary of mouse implementationgerman772021-11-241-8/+13
|
* core/hid: Fully implement native mousegerman772021-11-241-6/+25
|
* second commit lion reviewgerman772021-11-241-0/+5
|
* settings: Fix mouse and keyboard mappingsgerman772021-11-241-1/+16
|
* input_common: Rewrite mousegerman772021-11-241-0/+138