Commit Graph

1232 Commits

Author SHA1 Message Date
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
203aa2b368 Added viGetIndirectLayerImageMap and viGetIndirectLayerImageRequiredMemoryInfo. 2019-01-14 11:12:49 -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
Cpasjuste
855a719728 c11-threads: return thrd_timedout on cnd_timedwait timeout (#232) 2019-01-09 13:33:23 +01:00
yellows8
2e3fd9bd9f Use const for appletQueryApplicationPlayStatistics. 2019-01-05 14:47:42 -05:00
yellows8
2ccaa302a1 Added appletQueryApplicationPlayStatistics. Use BufferType_Normal instead of 0 in _appletGetSessionProxy. 2019-01-05 14:34:18 -05:00
yellows8
9aa0f901d1 Fixed doxygen for swkbd.h. 2019-01-04 22:07:10 -05:00
yellows8
2900622cb5 Initial SwkbdInline impl, minor swkbd adjustments. 2019-01-04 22:05:06 -05:00
fincs
06733c4750 Fix NvColorFormat enum 2019-01-04 22:30:52 +01:00
fincs
50baeeaa80 nwindowGetDefault: Explicitly initialize dimensions to 1280x720 because 1.x reports a default size of 1x1 2019-01-04 20:41:05 +01:00
yellows8
82e526c72f Added appletHolderActive and appletHolderCheckFinished. 2019-01-04 11:46:36 -05:00
XProger
f589310ef2 fix unusable touch by adding touch identifier into touchPosition 2019-01-03 21:16:06 +01:00
fincs
e708372dca Finally remove deprecated old gfx API 2019-01-03 21:13:20 +01:00
Andreas Smas
e04f311dd4 doozer: Adjust so docs-target is only trigged from Doozer's CD script 2019-01-03 11:32:30 -08:00
fincs
a182f3b496 Release v2.0.0 2019-01-02 00:16:49 +01:00
fincs
49efa74e70 Remove static_asserts from hid.h in order to avoid a hard dependency on C11 2019-01-01 03:27:43 +01:00
yellows8
e59036d4c8 Added PsmSession, which is now an additional param for: psmBindStateChangeEvent, psmWaitStateChangeEvent, and psmUnbindStateChangeEvent. Hence, the psm session is now handled with this object instead of libnx automatically handling it internally. psmBindStateChangeEvent no longer calls psmUnbindStateChangeEvent. Other adjustments. 2018-12-31 19:36:07 -05:00
yellows8
2c89aed2b9 Swapped the order of the buffers used in usbHsAcquireUsbIf on 3.0.0+. 2018-12-29 19:13:53 -05:00
yellows8
e9cc565e92 Fixed usbhs 3.0.0+ support with usbHsAcquireUsbIf. 2018-12-26 11:18:09 -05:00
yellows8
36a2404e4b Updated applet/swkbd comments. 2018-12-24 20:13:09 -05:00
yellows8
e03c23e126 Added comments for SwkbdTextDrawType_DownloadCode/unk_x3e0. 2018-12-24 20:03:23 -05:00
yellows8
584b856299 Removed typedef for SwkbdKeyDisableBitmask. Changed the type for SwkbdArgV0 type and textDrawType to the enums. 2018-12-24 11:23:30 -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
715b597ef1 Removed comment from swkbdConfigSetInitialText, since the previous tmem commit fixed this. 2018-12-23 22:19:49 -05:00
yellows8
00d0174c0a Removed the buffer memset from tmemCreateFromMemory, tmemCreateFromMemory should not write to the user buffer. 2018-12-23 22:18:24 -05:00
yellows8
6355ead6d3 Fixed dicFlag type. 2018-12-23 01:47:11 -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
854e3058ba Replaced appletSetMediaPlaybackStateForApplication with appletSetMediaPlaybackState, which now supports non-Application. Added _appletCmdInU8/_appletCmdInBool, the latter is now used by appletSetMediaPlaybackState. 2018-12-21 11:33:56 -05:00
Cpasjuste
8be5cad7f8 Added appletSetMediaPlaybackStateForApplication 2018-12-21 10:30:28 -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
yellows8
d821185e3d Added buffer param to appletCreateTransferMemoryStorage and appletCreateHandleStorageTmem, tmemCreateFromMemory will now be used with this when buffer is not NULL. 2018-12-20 12:59:59 -05:00
yellows8
2d5000ba57 Added libappletPushInData. Moved common storage creation+writing code into 1 func, in libapplet.c. 2018-12-20 12:57:35 -05:00
Dave Murphy
2405872b16 redirect sys/poll.h to poll.h for compatibility 2018-12-20 16:16:12 +01:00
fincs
252e8ef9ff Add tmemCreateFromMemory 2018-12-20 16:12:22 +01:00
yellows8
0bab302c3b Added libappletRequestHomeMenu and libappletRequestJumpToSystemUpdate. 2018-12-19 20:37:19 -05:00
yellows8
6e10568589 Added applets/libapplet. Added appletSetThemeColorType and appletGetThemeColorType. 2018-12-19 19:49:57 -05:00
fincs
f448b0fbad nvioctlMap_Param -> nvioctlNvmap_Param 2018-12-19 19:33:31 +01:00