summaryrefslogtreecommitdiff
path: root/src/yuzu/applets/qt_software_keyboard.cpp
AgeCommit message (Collapse)Author
2024-12-31chore: update project branding to citronZephyron
2024-01-29am: re-namespace frontend applets to frontend directoryLiam
2024-01-11service: hid: Create abstracted pad structuregerman77
2024-01-05hid_core: Move hid to it's own subprojectNarr the Reg
2023-01-25main: Convert to device independent coordinates for scalingMorph
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.
2022-12-05applets/software_keyboard: Use aliases for callbacksLioncash
Deduplicates really long std::function declarations to make the interface nicer to read.
2022-07-24qt_software_keyboard: Fix infinite loop when moving between buttonsMorph
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.
2022-07-24applet/swkbd: Implement optional symbol keysMorph
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.
2022-05-16qt_software_keyboard: Address review feedbacklat9nq
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>
2022-05-15qt_software_keyboard: Use Common::U16StringFromBufferlat9nq
See ffd3afcf2
2022-04-23general: Convert source file copyright comments over to SPDXMorph
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.
2021-12-13qt_software_keyboard: Fix out of bounds array accessMorph
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.
2021-11-24core/hid: Rename NpadType to NpadStyleIndexgerman77
2021-11-24configuration: Migrate controller settings to emulated controllergerman77
2021-11-24Qt_applets: Use new inputgerman77
2021-11-08applets/swkbd: Skip text checking if the text has been confirmedMorph
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
2021-08-19qt_software_keyboard: fix copy-paste errorValeri
2021-07-14applets: Append qt_ prefix to Qt frontend appletsMorph