summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/applets/applet_software_keyboard.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-01-30am: re-namespace frontend applets to frontend directoryLiam1-1277/+0
2024-01-30service: split am into componentsLiam1-0/+1
2023-03-25qt: implement RequestExit for appletsLiam1-1/+1
2023-03-25applets: implement RequestExitLiam1-0/+5
2023-02-14remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistencyarades791-4/+4
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14add static lifetime to constexpr values to force compile time evaluation where possiblearades791-4/+4
Signed-off-by: arades79 <scravers@protonmail.com>
2022-07-24applet/swkbd: Implement optional symbol keysMorph1-0/+6
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-06-27core: Replace all instances of ResultCode with Resultgerman771-1/+1
2022-06-14common: Change semantics of UNREACHABLE to unconditionally crashLiam1-1/+1
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-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.
2022-03-22applets/swkbd: Split software keyboard initializationMorph1-153/+321
Since the CalcArg struct has been updated with a new size and fields, we have to split the initialization of the keyboard into multiple functions. This also adds support for parsing the new CalcArg struct used by updated versions of Monster Hunter Rise.
2021-11-08applets/swkbd: Fix text check message encodingMorph1-7/+15
The text check message can be encoded in UTF-8.
2021-11-08applets/swkbd: Skip text checking if the text has been confirmedMorph1-7/+13
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-05applet_swkbd: Include the null terminator in the buffer size calculationMorph1-2/+4
Some games may interpret the read string as a null-terminated string instead of just reading the string up to buffer_size.
2021-07-30applet_swkbd: Correct string buffer size calculationMorph1-2/+2
The buffer size here does not include the initial 8 bytes.
2021-07-14applets: Append applet_ prefix to backend appletsMorph1-1/+1
2021-06-02general: Replace RESULT_SUCCESS with ResultSuccessMorph1-1/+1
Transition to PascalCase for result names.
2021-05-28applets/swkbd: Make use of std::move where applicableMorph1-8/+8
Avoids redundant string copies
2021-05-28applets/swkbd: Only read the text check message on Failure/ConfirmMorph1-2/+7
Applications may leave this region of memory uninitialized when the text check result is not either Failure or Confirm. Attempting to read uninitialized memory may cause an exception within the UTF16 to UTF8 string converter. Fix this by only reading the text check message on Failure or Confirm.
2021-05-04service: Resolve cases of member field shadowingLioncash1-3/+3
Now all that remains is for kernel code to be 'shadow-free' and then -Wshadow can be turned into an error.
2021-04-17applets: Send focus state change message on applet state changeMorph1-1/+1
Fixes the softlock after the controller applet exits in Mario Kart 8 Deluxe.
2021-04-17applets: Make the applet mode a protected property of AppletMorph1-1/+1
2021-04-15applets/swkbd: Implement the Normal and Inline Software Keyboard AppletMorph1-9/+1058
2021-04-15applets: Remove the previous software keyboard applet implementationMorph1-177/+5
2021-02-11software_keyboard: Implement Finalize request commandMorph1-0/+4
2020-11-27service: Eliminate usages of the global system instanceLioncash1-6/+8
Completely removes all usages of the global system instance within the services code by passing in the using system instance to the services.
2020-08-14software_keyboard: Resolve a pessimizing move warningLioncash1-2/+1
A std::vector created in place like this is already an rvalue and doesn't need to be moved.
2020-07-20Address issuesDavid Marcec1-2/+2
2020-07-19swkbd: Return result for Calc request for inlined swkbdDavid Marcec1-13/+48
Fixes random swkbd popups in monster hunter
2020-06-24Prevent nullptr dereference on swkbd error caseDavid Marcec1-1/+1
2020-06-20software_keyboard: Eliminate trivial redundant copiesLioncash1-2/+2
We can just make use of moves here to get rid of two redundant copies
2020-02-08hle: services: Use std::shared_ptr instead of copy by value.bunnei1-4/+4
2020-02-06am: Refactor IStorage interface.bunnei1-4/+4
2020-02-06applets: software_keyboard: Signal state change on end of interactive session.bunnei1-0/+1
2020-02-06applets: software_keyboard: Minor cleanup.bunnei1-2/+2
2019-09-05service/am: Remove usages of global system accessorsLioncash1-2/+3
Avoids the use of global accessors, removing the reliance on global state. This also makes dependencies explicit in the interface, as opposed to being hidden
2019-04-17applets: Port current applets to take frontend in constructorZach Hilman1-5/+2
As opposed to using Core::System::GetInstance()
2019-03-05core/hle/ipc: Remove unnecessary includesLioncash1-0/+1
Removes a few inclusion dependencies from the headers or replaces existing ones with ones that don't indirectly include the required headers. This allows removing an inclusion of core/memory.h, meaning that if the memory header is ever changed in the future, it won't result in rebuilding the entirety of the HLE services (as the IPC headers are used quite ubiquitously throughout the HLE service implementations).
2018-12-10applets: Correct usage of SignalStateChanged eventZach Hilman1-2/+1
This was causing some games (most notably Pokemon Quest) to softlock due to an event being fired when not supposed to. This also removes a hack wherein we were firing the state changed event when the game retrieves it, which is incorrect.
2018-12-03applets: Correct event ResetTypes from OneShot to StickyZach Hilman1-6/+1
Fixes bugs relating to signalling in software keyboard.
2018-12-03software_keyboard: Signal state changed event upon constructionZach Hilman1-1/+6
Previously, ILibraryAppletAccessor would signal upon creation of any applet, but this is incorrect. A flag inside of the applet code determines whether or not creation should signal state change and swkbd happens to be one of these applets.
2018-11-20am/applets: Make the applet data broker part of the applet itself.Lioncash1-12/+12
The accessor should be doing just that, accessing, rather than retaining the lifetime of the data broker as well.
2018-11-19software_keyboard: Fix erroneous extra PushNormalDataZach Hilman1-3/+2
2018-11-19software_keyboard: Return correct result code on user cancel operationZach Hilman1-3/+1
2018-11-19applet: Add AppletDataBroker to manage HLE to AM service interactionZach Hilman1-22/+21
This cleans up most of the callbacks and such in the Applets::Applet interface, while also properly implementing all four data channels.
2018-11-19software_keyboard: Use correct offset for inital text stringZach Hilman1-1/+2
2018-11-19software_keyboard: Check for UTF-8 config flagZach Hilman1-8/+21
2018-11-18software_keyboard: Push all data over all channels on dialog completionZach Hilman1-18/+26
2018-11-18applet: Use std::queue instead of std::vector for storage stackZach Hilman1-3/+6
2018-11-18applet: Add operation completed callbackZach Hilman1-1/+1
2018-11-18software_keyboard: Push buffer size to offset 0x4 in output dataZach Hilman1-5/+13
2018-11-18software_keyboard: Make GetText asynchronousZach Hilman1-5/+14
a
2018-11-18am: Allow applets to push multiple and different channels of dataZach Hilman1-16/+11
2018-11-18am: Implement text check software keyboard modeZach Hilman1-9/+58
Allows the game to verify and send a message to the frontend.
2018-11-18am: Deglobalize software keyboard appletZach Hilman1-2/+10
2018-11-18am/applets: Add connector between frontend and AM applet classesZach Hilman1-0/+71
Provides a middleman between the Frontend provider class and the expected AM::Applets::Applet class needed by ILibraryAppletAccessor