Dave Murphy
b954aaf35d
dereference pointer. Closes #612
2023-06-07 16:16:37 +01:00
yellows8
328d041c5c
swkbd: Fixed height value in swkbdInlineGetTouchRectangles.
2022-10-06 15:22:47 -04:00
averne
97fef5e48d
Fix calculation of the inline swkbd touch rectangle
2022-10-06 19:49:54 +02:00
Morph
08e2b2d945
swkbd: Fix several swkbd enums and structs ( #549 )
...
* swkbd: Provide more accurate SwkbdInline State descriptions
* swkbd: Correct stringLenMaxExt to stringLenMin
* swkbd: Add setters for stringLenMax/Min in SwkbdAppearArg
2021-05-10 18:16:40 +02:00
fincs
076657fd31
Allow user override of dynamic memory allocation functions throughout libnx
2021-01-22 18:37:46 +01:00
yellows8
0d5dcde5b9
swkbd: Added swkbdInlineGetMiniaturizedHeight.
2020-12-16 20:32:42 -05:00
yellows8
ccec5bd36c
apm/applet: Updated names/docs.
...
Added AppletWindowOriginMode.
2020-12-15 11:14:35 -05:00
yellows8
3d4f61735a
swkbd: Updated for 10.x and added:
...
swkbdInlineGetMaxHeight, swkbdInlineGetTouchRectangles, swkbdInlineIsUsedTouchPointByKeyboard.
2020-06-14 00:03:19 -04:00
yellows8
857e2f5c4d
swkbd: Added proper support for using SwkbdInlineMode_UserDisplay.
2020-06-11 22:40:14 -04:00
yellows8
0de0dfdd8d
swkbd: Use appletHolderPresetLibraryAppletGpuTimeSliceZero on [10.0.0+] in _swkbdInlineLaunch. In _swkbdInlineLaunch, use appletHolderClose if needed when errors occur.
2020-04-18 13:25:21 -04:00
yellows8
d94be49cb3
Moved common includes for libapplets into a dedicated internal header + minor other changes.
2019-11-27 11:18:58 -05:00
yellows8
4177031ebe
Use the same style for all system-versions.
2019-08-26 13:05:49 -04:00
yellows8
2257e3ccf4
Updated LibAppletMode enum and added appletHolderSetOutOfFocusApplicationSuspendingEnabled.
2019-07-30 17:34:05 -04:00
yellows8
9947048f8b
Added support for [8.0.0+] swkbd functionality: swkbdConfigSetUnkFlag, swkbdConfigSetTrigger, swkbdInlineSetChangedStringV2Callback, and swkbdInlineSetMovedCursorV2Callback. Added swkbdInlineLaunchForLibraryApplet and swkbdInlineSetDecidedCancelCallback. Moved initArg setup into swkbdInlineLaunch*.
2019-06-04 19:13:36 -04:00
yellows8
57b028fec5
Added support for swkbd [6.0.0+] functionality. Added swkbdConfigSet*() funcs which should now be used instead of accessing the arg structs directly. Added version checking for some swkbdInlineSet*() funcs. Various other changes.
2019-04-09 18:32:54 -04:00
yellows8
3a14e9094a
Fixed error handling with appletHolderPushInData() for tmem-storage in swkbdShow().
2019-03-28 21:01:04 -04:00
yellows8
e3f021bab3
Verify that the version is 2.0.0+ in swkbdInlineCreate.
2019-02-18 16:42:12 -05:00
fincs
11b7bece4a
Change all services except fatal to use hosversion* instead of kernelAboveXYZ
2019-02-18 21:48:49 +01:00
yellows8
b3b5816fd0
Added swkbdInlineAppearArgSetLeftButtonText and swkbdInlineAppearArgSetRightButtonText.
2019-01-28 21:15:45 -05:00
yellows8
2ebac06061
Updated swkbdInlineMakeAppearArg, this now just writes defaults and sets type to the input param. Added swkbdInlineAppearArgSetOkButtonText.
2019-01-28 16:54:38 -05:00
yellows8
6b91ac26a5
Added swkbdInlineSetUserWordInfo/swkbdInlineUnsetUserWordInfo. Handle storage-tmem closing in _swkbdProcessReply. Better CustomizeDic handling. Other changes.
2019-01-22 22:29:48 -05:00
yellows8
4a119e4028
Added swkbdInlineSetCustomizeDic/swkbdInlineUnsetCustomizeDic. Updated SwkbdChangedStringArg struct.
2019-01-21 18:33:15 -05:00
yellows8
be8e196eb0
Moved state field from swkbdInlineUpdate into SwkbdInline, and added out_state param. Removed unused State param from _swkbdProcessReply. Added SwkbdState enum.
2019-01-18 23:48:31 -05:00
yellows8
dbadcd76ed
Implemented _swkbdProcessReply() with actual handling. Added set-callback funcs. Automatically call swkbdInlineSetUtf8Mode in swkbdInlineCreate.
2019-01-18 22:11:41 -05:00
yellows8
40d5fb8587
Added SwkbdReplyType. Added initial impl for _swkbdProcessReply.
2019-01-17 21:31:18 -05:00
yellows8
4250fb3752
Updated SwkbdInlineCalcArg struct. Added: swkbdInlineSetKeytopBgAlpha, swkbdInlineSetFooterBgAlpha, swkbdInlineSetKeytopScale, and swkbdInlineSetKeytopTranslate. Implemented field updating in swkbdInlineUpdate.
2019-01-16 20:34:53 -05:00
yellows8
8cc321d0f1
Allocate tmp-buffers for swkbd-inline, for use in swkbdInlineUpdate. Moved code for writing bool flags into dedicated funcs. Added: swkbdInlineSetInputModeFadeType, swkbdInlineSetAlphaEnabledInInputMode, swkbdInlineSetKeytopAsFloating, swkbdInlineSetFooterScalable. Removed a comment.
2019-01-15 21:31:02 -05:00
yellows8
74683089a0
Fixed+updated swkbd-inline structs. Added: swkbdInlineSetVolume, swkbdInlineSetInputText, swkbdInlineSetCursorPos, swkbdInlineSetUtf8Mode, swkbdInlineSetTouchFlag, swkbdInlineSetUSBKeyboardFlag, swkbdInlineSetDirectionalButtonAssignFlag, swkbdInlineSetSeGroup, and swkbdInlineSetBackspaceFlag. Added some storage reading to swkbdInlineUpdate.
2019-01-15 16:51:19 -05:00
yellows8
1a91c10c19
Added SwkbdInlineMode enum.
2019-01-14 14:57:28 -05:00
yellows8
9d5127d37d
Improved keySetDisableBitmask handling in swkbdInlineMakeAppearArg.
2019-01-14 11:14:50 -05:00
yellows8
a812587a31
Updated SwkbdAppearArg. Updated comments.
2019-01-13 19:51:01 -05:00
yellows8
8cd2808eff
Added swkbdInlineAppear, swkbdInlineDisappear, and swkbdInlineMakeAppearArg. Updated SwkbdAppearArg.
2019-01-11 18:24:14 -05:00
yellows8
2900622cb5
Initial SwkbdInline impl, minor swkbd adjustments.
2019-01-04 22:05:06 -05:00
yellows8
653bcb27c9
Added SwkbdTextDrawType and replaced unk_x3b8 with textDrawType.
2018-12-24 01:00:39 -05:00
yellows8
21e01dfd68
Added SwkbdKeyDisableBitmask.
2018-12-23 22:55:19 -05:00
yellows8
477058d28a
Added SwkbdType. Specifically set the type to SwkbdType_Normal in the Preset funcs which use it. Set type properly on 5.0.0+ for swkbdConfigMakePresetDownloadCode. Improved swkbd docs, including documenting what fields are set by the Preset funcs.
2018-12-23 01:26:00 -05:00
yellows8
56b767efbf
Implemented actual swkbd TextCheck support. Moved strbuf alloc from _swkbdProcessOutput into swkbdShow(), so that it can be used for TextCheck. Added validation for the out_string* params in swkbdShow(). The out_string buffer is now cleared before calling _swkbdProcessOutput.
2018-12-23 00:39:06 -05:00
yellows8
e8482f7581
Improved SwkbdArgV0, and updated swkbd docs.
2018-12-22 19:26:38 -05:00
yellows8
e892e91360
Moved swkbd version init into swkbdCreate, and use the newer swkbd versions. Added swkbdConfigMakePreset*(). Changed unk_x3e0 to u32, and various other adjustments.
2018-12-22 16:50:20 -05:00
yellows8
901dc817e7
Handle <=3.0.0 swkbd versions, and filled in the arg struct. Handle the workbuf. Added a param to swkbdCreate and added swkbdClose. Added swkbdConfigSet*Text and swkbdConfigSet*OptionalSymbolKey. Various other changes.
2018-12-22 11:51:51 -05:00
yellows8
59382cab1f
Added LibnxError_LibAppletBadExit, which is now used in swkbd.
2018-12-20 21:08:36 -05:00
yellows8
58cbacc76f
Handle the output swkbd storage.
2018-12-20 20:49:50 -05:00
yellows8
32f93bef5d
Added initial swkbd impl.
2018-12-20 13:06:20 -05:00