aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/drivers/mouse.h
Commit message (Collapse)AuthorAgeFilesLines
* [input] Fix mouse drift on Qt/SDL frontends (#4352)lizzie2026-09-141-2/+5
| | | | | | | | | | | | | | | | | | 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-5/+5
| | | | | | | | | | | | | | | | | 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-2/+4
| | | | | | | | | | | | | | | | | 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>
* [input_common/mouse, sdl_driver] increase latency of mouse and SDL_vibration ↵lizzie2025-12-041-2/+3
| | | | | | | | | | | | | | 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>
* fix uninit values in applet and mouse (#114)Esther10242025-05-191-1/+1
| | | | | | | | read before written; initialize so valgrind stops complaining Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/114 Co-authored-by: Esther1024 <danishreyjavik@outlook.com> Co-committed-by: Esther1024 <danishreyjavik@outlook.com>
* yuzu: Ensure mouse panning can't be enabled with real mouse emulationgerman772023-06-301-0/+2
|
* input_common: Redesign mouse panningBaptiste Marie2023-06-121-2/+0
|
* input_common: Implement dedicated motion from mouseNarr the Reg2023-02-211-1/+4
|
* input_common: Split mouse input into individual devicesNarr the Reg2023-02-161-4/+34
|
* general: fix compile for Apple ClangLiam2022-11-221-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.
* input_common: Reintroduce motion from mouse and use button namesgerman772022-01-161-0/+2
|
* input_engine: std::move engine name where applicableLioncash2021-12-131-2/+2
| | | | | We can allow the name to be moved into, allowing allocations to be avoided.
* input_common: Move button names to the frontendgerman772021-11-241-1/+1
|
* kraken: Address comments from reviewgerman772021-11-241-1/+1
| | | | Fix compiler bug
* core/hid: Improve accuary of mouse implementationgerman772021-11-241-0/+1
|
* core/hid: Fully implement native mousegerman772021-11-241-0/+7
|
* second commit lion reviewgerman772021-11-241-5/+0
|
* kraken: Address comments from reviewgerman772021-11-241-1/+1
| | | | start lion review
* settings: Fix mouse and keyboard mappingsgerman772021-11-241-0/+1
|
* input_common: Rewrite mousegerman772021-11-241-0/+77