eden-miror/src/input_common/drivers
lizzie 395613b01f
Some checks are pending
tx-src / sources (push) Waiting to run
Check Strings / check-strings (push) Waiting to run
[common/logging] Simplify logging logic and fix issues when logging before 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>
2026-03-12 18:29:15 +01:00
..
android.cpp android: Play vibrations asynchronously 2024-02-23 16:41:59 -05: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 input_common: Remove duplicated DriverResult enum 2023-06-28 09:49:47 -06: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 [sdl]Mouse Panning Regression Fix (#3181) 2025-12-19 23:32:42 +01:00
mouse.h [input_common/mouse, sdl_driver] increase latency of mouse and SDL_vibration threads to 4 "evals" per sec (#2982) 2025-12-04 07:26:20 +01:00
sdl_driver.cpp [common/logging] Simplify logging logic and fix issues when logging before system is created (#3688) 2026-03-12 18:29:15 +01:00
sdl_driver.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
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 [common/logging] Simplify logging logic and fix issues when logging before system is created (#3688) 2026-03-12 18:29:15 +01: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