eden-nx2-old/src/input_common/drivers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
xbzk dd12266c26
[input] added option to disable wgi/xinput to prevent SDL GUIDE hack (#4237)
- [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.

-------------------
So, many users hate the fact when they press START+SELECT, an additional HOME event is sent.

That is annoying coz for most users' default hotkey settings, it closes eden when not in game, and when in game it calls a NOT controller responsive prompt about leaving Eden.
There are several games with reasons to press start+select, also there are homebrews which relies on that combo to open internal menus.
Again. That is annoying.

Digging deep i've found that SDL implements something called guide hack: When Start+Select is pressed it sends a synthetic GUIDE(which code equals to HOME).
This was intended for controllers missing the HOME button, but SDL fails to track them all, and misses API to disabling it.

I've figured out a patch to SDL to disable it, but since it would be better to invest on a PR straight into SDL repo, on our side i thought it better to simply add an option to disable WGI (Windows.Gaming.Input) and Xinput, both paths which could lead into the hack enabling.

Setting is available in a remote place no one will bother.

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4237
Reviewed-by: Samuel <lizzie@eden-emu.dev>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
2026-08-09 02:53:37 +02:00
..
android.cpp [meta] Discourage profanity usage (#4239) 2026-08-09 02:53:16 +02:00
android.h [*] change all std::unordered_map and std::unordered_set into ankerl::unordered_dense::map/set variants (#3442) 2026-02-10 03:34:07 +01:00
camera.cpp Update fmt to allow for v11 2025-04-10 01:11:22 +02:00
camera.h input_common: Use DriverResult on all engines 2023-01-19 18:05:22 -06:00
gc_adapter.cpp [common/logging] Simplify logging logic and fix issues when logging before system is created (#3688) 2026-03-12 18:29:15 +01:00
gc_adapter.h input_common: Use DriverResult on all engines 2023-01-19 18:05:22 -06:00
joycon.cpp [common] remove ranges polyfill (#2546) 2025-09-24 19:29:48 +02:00
joycon.h [externals] Update to SDL3 (#3952) 2026-05-18 19:07:41 +02:00
keyboard.cpp general: fix spelling mistakes 2023-03-12 11:33:01 -04:00
keyboard.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
mouse.cpp [core/hle/services/am] nuke ButtonPoller and Mouse thread (#4229) 2026-07-26 05:11:03 +02:00
mouse.h [core/hle/services/am] nuke ButtonPoller and Mouse thread (#4229) 2026-07-26 05:11:03 +02:00
sdl_driver.cpp [input] added option to disable wgi/xinput to prevent SDL GUIDE hack (#4237) 2026-08-09 02:53:37 +02:00
sdl_driver.h [externals] Update to SDL3 (#3952) 2026-05-18 19:07:41 +02:00
tas_input.cpp [common/logging] Simplify logging logic and fix issues when logging before system is created (#3688) 2026-03-12 18:29:15 +01:00
tas_input.h TAS: Show all script lengths for multiplayer 2023-01-07 21:15:37 +01:00
touch_screen.cpp input_common: touch: Rewrite touch driver to support multiple touch points 2022-05-23 11:01:14 -05:00
touch_screen.h input_common: touch: Rewrite touch driver to support multiple touch points 2022-05-23 11:01:14 -05:00
udp_client.cpp [video_core, hle] remove redundant parent references in system structs (#3908) 2026-06-23 06:31:25 +02:00
udp_client.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
virtual_amiibo.cpp [common/logging] Simplify logging logic and fix issues when logging before system is created (#3688) 2026-03-12 18:29:15 +01:00
virtual_amiibo.h input_common: Implement native mifare support 2023-06-21 17:54:58 -06:00
virtual_gamepad.cpp android: Add motion sensor 2023-06-03 00:05:30 -07:00
virtual_gamepad.h ci: fix new codespell errors 2023-10-02 18:03:05 -04:00