aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/applets/qt_software_keyboard.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [common/logging] Simplify logging logic and fix issues when logging before ↵lizzie2026-03-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* [meta] clang-format literally all of the Qt code (#3706)crueter2026-03-101-15/+15
| | | | | | | | I'm tired of dealing with this tbh Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3706 Reviewed-by: Lizzie <lizzie@eden-emu.dev>
* [network, qt] use jthread and use std::vector for packet list instead of ↵lizzie2026-02-111-45/+27
| | | | | | | | | | | std::list (#254) Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/254 Reviewed-by: DraVee <dravee@eden-emu.dev> Reviewed-by: Maufeat <sahyno1996@gmail.com> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [desktop, fs] main_window separation; fix Ryujinx save data link issues (#2929)crueter2025-11-091-11/+14
| | | | | | | | | | | | | | | | | | | | | Some genius decided to put the entire MainWindow class into main.h and main.cpp, which is not only horrific practice but also completely destroys clangd beyond repair. Please, just don't do this. (this will probably merge conflict to hell and back) Also, fixes a bunch of issues with Ryujinx save data link: - Paths with spaces would cause mklink to fail - Add support for portable directories - Symlink detection was incorrect sometimes(????) - Some other stuff I'm forgetting Furthermore, when selecting "From Eden" and attempting to save in Ryujinx, Ryujinx would destroy the link for... some reason? So to get around this we just copy the Eden data to Ryujinx then treat it like a "From Ryujinx" op Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2929 Reviewed-by: Lizzie <lizzie@eden-emu.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
* am: re-namespace frontend applets to frontend directoryLiam2024-01-291-5/+5
|
* service: hid: Create abstracted pad structuregerman772024-01-111-1/+1
|
* hid_core: Move hid to it's own subprojectNarr the Reg2024-01-051-4/+4
|
* main: Convert to device independent coordinates for scalingMorph2023-01-251-1/+1
| | | | | devicePixelRatioF() returns the scaling ratio when high dpi scaling is enabled. When high dpi scaling is enabled, the raw screen coordinate system is scaled to device independent coordinates.
* applets/software_keyboard: Use aliases for callbacksLioncash2022-12-051-4/+1
| | | | | Deduplicates really long std::function declarations to make the interface nicer to read.
* qt_software_keyboard: Fix infinite loop when moving between buttonsMorph2022-07-241-0/+14
| | | | | | There was a bug where, when using the numeric keyboard, moving between buttons resulted in an infinite loop, resulting in a stuck state. This was due to prev_button being the only one enabled in that row or column, causing the condition in the while loop to always be true. To fix this, detect whether we have returned to that initial row/column and break out of the loop.
* applet/swkbd: Implement optional symbol keysMorph2022-07-241-3/+20
| | | | These are only used in the numeric keyboard, and correspond to the keys to the left and right of the "0" key on the numeric keyboard.
* qt_software_keyboard: Address review feedbacklat9nq2022-05-161-14/+14
| | | | | | | | | Use auto and a more descriptive variable name. Secondly, fix some C++ misconceptions or constructing too many objects. Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com> Co-authored-by: Lioncash <mathew1800@gmail.com>
* qt_software_keyboard: Use Common::U16StringFromBufferlat9nq2022-05-151-14/+15
| | | | See bef52745b
* 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.
* qt_software_keyboard: Fix out of bounds array accessMorph2021-12-131-4/+19
| | | | We were unconditionally accessing the keyboard_buttons array, even if the bottom_osk_index was for the numberpad, leading to an out of bounds array access. Fix this by accessing the proper array for the current button when the index is for the numberpad.
* core/hid: Rename NpadType to NpadStyleIndexgerman772021-11-241-7/+7
|
* configuration: Migrate controller settings to emulated controllergerman772021-11-241-9/+12
|
* Qt_applets: Use new inputgerman772021-11-241-42/+49
|
* applets/swkbd: Skip text checking if the text has been confirmedMorph2021-11-081-4/+5
| | | | | | | Confirm means that the text has already been checked by the application to be correct, but is asking the user for confirmation. The confirmation text itself seems to be corrupted though, this needs to be investigated. Fixes the software keyboard in Famicom Detective Club: The Missing Heir
* qt_software_keyboard: fix copy-paste errorValeri2021-08-191-1/+1
|
* applets: Append qt_ prefix to Qt frontend appletsMorph2021-07-141-0/+1620