aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/helpers/joycon_protocol/generic_functions.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [common/logging] Simplify logging logic and fix issues when logging before ↵lizzie2026-03-121-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* input_common: Remove duplicated DriverResult enumgerman772023-06-281-25/+27
|
* input_common: joycon: Remove Magic numbers from common protocolNarr the Reg2023-01-291-2/+2
|
* input_common: joycon: Fill missing enum dataNarr the Reg2023-01-291-1/+1
|
* input_common: joycon: Replace ReadSPI vector with spanNarr the Reg2023-01-271-4/+4
|
* input_common: joycon: Remove magic numbers from calibration protocolNarr the Reg2023-01-271-2/+2
|
* input_common: Implement SetLowPowerMode and TriggersElapsed for the joycon ↵Narr the Reg2023-01-261-0/+11
| | | | driver
* input_common: Address byte reviewgerman772023-01-201-38/+16
|
* Address review commentsgerman772023-01-191-6/+6
|
* input_common: Add support for joycon generic functionsNarr the Reg2023-01-191-0/+147