Commit Graph

148 Commits

Author SHA1 Message Date
yellows8
7cc9295684
Added appletInvalidateTransitionLayer. 2019-08-16 22:31:01 -04:00
yellows8
fc09340a42
Added appletPerformSystemButtonPressing and the enum types for it. Updated docs. 2019-08-16 22:05:34 -04:00
yellows8
b20147eeb7
Added appletExitAndRequestToShowThanksMessage. 2019-08-16 21:10:35 -04:00
yellows8
10e2e71ea2
Enter infinite-sleep-loop in appletRequestToShutdown/appletRequestToReboot. Minor change in appletHolderJump. 2019-08-16 20:19:50 -04:00
yellows8
112da06f37
Renamed AppletNotificationMessage to AppletMessage. Updated docs. 2019-08-16 15:42:04 -04:00
yellows8
eeaa63aa28
Added appletPushContext/appletPopContext. Added appletHolderJump. Added appletGetAppletInfo. Added libappletSetJumpFlag. Added structs AppletProcessLaunchReason and AppletInfo. 2019-08-15 21:43:09 -04:00
yellows8
77961c6ede
Added appletPopInData, appletPushOutData, appletPopInteractiveInData, appletPushInteractiveOutData, appletGetPopInDataEvent, appletGetPopInteractiveInDataEvent, appletPopExtraStorage, appletGetPopExtraStorageEvent, appletUnpopInData, and appletUnpopExtraStorage. Improved docs. 2019-08-14 18:23:11 -04:00
yellows8
5090c54654
Added appletGetMainAppletAvailableUsers. 2019-08-13 21:26:50 -04:00
yellows8
a17c73e783
Added appletGetMainAppletStorageId, appletGetDesirableKeyboardLayout, appletGetIndirectLayerProducerHandle, and appletGetCurrentApplicationId. 2019-08-13 19:06:39 -04:00
yellows8
b09b2deb2d
Added appletRequestExitToSelf. 2019-08-13 17:18:22 -04:00
yellows8
c516388ba0
Added appletCanUseApplicationCore, appletGetMainAppletApplicationControlProperty, and appletGetMainAppletApplicationDesiredLanguage. Added docs for appletGetDesiredLanguage. 2019-08-13 12:46:49 -04:00
yellows8
0137f582da
Added struct AppletAttribute. Use cmd OpenLibraryAppletProxy on [3.0.0+] when running appletInitialize for AppletType_LibraryApplet. 2019-08-12 11:14:58 -04:00
yellows8
15b3181c93
Fixed docs. 2019-08-08 13:39:07 -04:00
yellows8
f9ccfb79d2
Added appletGetApplicationIdForLogo, appletSetGpuTimeSliceBoost, appletSetAutoSleepTimeAndDimmingTimeEnabled, appletTerminateApplicationAndSetReason, appletSetScreenShotPermissionGlobally, appletStartShutdownSequenceForOverlay, appletStartRebootSequenceForOverlay, and appletSetHandlingHomeButtonShortPressedEnabled. 2019-08-08 13:35:16 -04:00
yellows8
f5b24bd244
Added appletStartSleepSequence, appletStartShutdownSequence, appletStartRebootSequence, appletIsAutoPowerDownRequested, appletLoadAndApplyIdlePolicySettings, appletNotifyCecSettingsChanged, appletSetDefaultHomeButtonLongPressTime, appletUpdateDefaultDisplayResolution, appletShouldSleepOnBoot, and appletGetHdcpAuthenticationFailedEvent. 2019-08-08 11:32:27 -04:00
yellows8
3bbc181531
Added appletRequestToGetForeground, appletLockForeground, appletUnlockForeground, appletPopFromGeneralChannel, and appletGetPopFromGeneralChannelEvent. 2019-08-07 19:57:03 -04:00
yellows8
75c79e8d5e
Replaced appletHomeButtonReaderLockAccessorGetEvent with appletGetHomeButtonReaderLockAccessor. Added appletGetReaderLockAccessorEx, appletGetWriterLockAccessorEx, and appletGetHomeButtonWriterLockAccessor. Added support for AppletLockAccessor. 2019-08-05 22:40:14 -04:00
yellows8
6c194fc6a6
Added appletRequestToAcquireSleepLock, appletReleaseSleepLock, and appletReleaseSleepLockTransiently. 2019-08-03 20:53:42 -04:00
yellows8
d73e1a09b5
Minor docs change. 2019-08-02 14:28:02 -04:00
yellows8
1bb777afe7
Added support for IAppletCommonFunctions. Added appletReadThemeStorage, appletWriteThemeStorage, appletGetDisplayLogicalResolution, appletSetDisplayMagnification, appletSetHomeButtonDoubleClickEnabled, and appletGetHomeButtonDoubleClickEnabled. Minor other changes. 2019-08-02 14:16:59 -04:00
yellows8
98fbadc778
Added appletUpdateLastForegroundCaptureImage, appletUpdateCallerAppletCaptureImage, appletGetLastForegroundCaptureImageEx, appletGetLastApplicationCaptureImageEx, appletGetCallerAppletCaptureImageEx, appletTakeScreenShotOfOwnLayer, appletCopyBetweenCaptureBuffers, appletClearCaptureBuffer, appletClearAppletTransitionBuffer, appletAcquireLastApplicationCaptureSharedBuffer, appletReleaseLastApplicationCaptureSharedBuffer, appletAcquireLastForegroundCaptureSharedBuffer, appletReleaseLastForegroundCaptureSharedBuffer, appletAcquireCallerAppletCaptureSharedBuffer, appletReleaseCallerAppletCaptureSharedBuffer, and appletTakeScreenShotOfOwnLayerEx. 2019-08-01 12:24:22 -04:00
yellows8
f49e8cb217
Added struct LibAppletInfo. Added appletHolderGetLibraryAppletInfo and appletGetLibraryAppletInfo. 2019-07-30 20:03:24 -04:00
yellows8
2257e3ccf4
Updated LibAppletMode enum and added appletHolderSetOutOfFocusApplicationSuspendingEnabled. 2019-07-30 17:34:05 -04:00
yellows8
6df890c47b
Added appletSetExpectedMasterVolume, appletGetExpectedMasterVolume, appletChangeMainAppletMasterVolume, and appletSetTransparentVolumeRate. 2019-07-29 22:05:32 -04:00
yellows8
7310c8f880
Added appletGetAppletResourceUserIdOfCallerApplet, appletSetAppletWindowVisibility, and appletSetAppletGpuTimeSlice. Minor other change. 2019-07-29 18:18:19 -04:00
yellows8
409957c432
Added appletGetCradleFwVersion, appletIsInControllerFirmwareUpdateSection, appletSetPerformanceConfigurationChangedNotification, and appletGetOperationModeSystemInfo. Moved appletHomeButtonReaderLockAccessorGetEvent to match cmd order. Fixed a check in appletGetDefaultDisplayResolution. 2019-07-28 20:52:37 -04:00
yellows8
93eaa74131
Added appletGetCradleStatus and appletGetBootMode. Added _appletCmdNoInOutU8 for internal use, which _appletCmdNoInOutBool now uses. Fixed docs. 2019-07-27 12:33:56 -04:00
yellows8
aeca9041d5
Added appletGetApplicationIdByContentActionName. 2019-07-25 23:47:03 -04:00
yellows8
31d34a6915
Added AppletTvPowerStateMatchingMode and AppletSystemButtonType. Added appletSetLcdBacklightOffEnabled, appletGetDefaultDisplayResolution, appletGetDefaultDisplayResolutionChangeEvent, appletGetHdcpAuthenticationState, appletGetHdcpAuthenticationStateChangeEvent, appletSetTvPowerStateMatchingMode, and appletPerformSystemButtonPressingIfInFocus. Minor other changes. 2019-07-25 21:40:42 -04:00
yellows8
3b2e484d88
Minor appletNotifyRunning improvements and added docs. 2019-07-25 20:26:34 -04:00
yellows8
493abc7703
Moved sections in applet.c/.h to match the order of the get-session cmds. Improved docs/comments. 2019-07-25 16:23:35 -04:00
yellows8
ed2f4a68f7
Added appletIsSystemBufferSharingEnabled, appletGetSystemSharedLayerHandle, and appletGetSystemSharedBufferHandle. 2019-07-24 19:45:39 -04:00
yellows8
974f5b9a1b
Added AppletIdentityInfo and AppletId_application. Moved sections in applet.h to match the applet.c order. Added/updated comments/docs. Check applet-type in _appletExitProcessAndReturn. Added appletSetScreenShotAppletIdentityInfo, appletGetMainAppletIdentityInfo, appletGetCallerAppletIdentityInfo, appletGetCallerAppletIdentityInfoStack, and appletGetNextReturnDestinationAppletIdentityInfo. 2019-07-24 16:20:52 -04:00
yellows8
a5e4609be3
Added appletGetProgramTotalActiveTime. 2019-07-23 10:57:35 -04:00
yellows8
6942c8db75
Added AppletHookType_RequestToDisplay, AppletNotificationMessage_RequestToDisplay, and AlbumImageOrientation. Added appletSetControllerFirmwareUpdateSection, appletSetDesirableKeyboardLayout, appletSetHandlesRequestToDisplay, appletApproveToDisplay, appletOverrideAutoSleepTimeAndDimmingTime, appletSetIdleTimeDetectionExtension, appletGetIdleTimeDetectionExtension, appletSetInputDetectionSourceSet, appletReportUserIsActive, appletSetAutoSleepDisabled, appletIsAutoSleepDisabled, and appletSetWirelessPriorityMode. Improved docs. 2019-07-20 13:18:58 -04:00
yellows8
74337842a0
Added AppletNotificationMessage enum and improved docs. Added support for appletSetRestartMessageEnabled, appletSetRequiresCaptureButtonShortPressedMessage, and appletSetAlbumImageTakenNotificationEnabled. Renamed appletSetScreenShotImageOrientation to appletSetAlbumImageOrientation. 2019-07-17 19:15:53 -04:00
yellows8
b896b33e3e
Added appletEnterFatalSection/appletLeaveFatalSection. 2019-07-16 15:47:47 -04:00
yellows8
f13b75d87c
Added appletGetPseudoDeviceId and appletSetApplicationAlbumUserData. Use ipcQueryPointerBufferSize for ISelfController in appletInitialize. Moved appletIsIlluminanceAvailable in applet.h to match cmd order. 2019-07-16 12:27:46 -04:00
yellows8
933cfb543d
Added support for applet ApplicationCopyright. Fixed a comment. 2019-07-14 17:42:46 -04:00
yellows8
333de18494
Added appletRequestToShutdown and appletRequestToReboot. 2019-07-13 20:04:26 -04:00
yellows8
3270bf3996
Reordered applet funcs to match cmdid order, improved docs, etc. Added appletBeginBlockingHomeButtonShortAndLongPressed and appletEndBlockingHomeButtonShortAndLongPressed. 2019-07-13 19:45:53 -04:00
yellows8
2262259984
Added appletGetDisplayVersion. 2019-07-13 18:57:37 -04:00
yellows8
40d7e0de51
Use an enum for appletSetScreenShotPermission with info from wiki. Improved applet docs. Use _appletIsApplication() instead of _appletIsRegularApplication() in appletQueryApplicationPlayStatistics/appletQueryApplicationPlayStatisticsByUid. Added appletGetGpuErrorDetectedSystemEvent. Added support for the [7.0.0+] CreateApplication*ToStartForQuest cmds. 2019-07-13 10:45:40 -04:00
yellows8
7f7ba17802
Fixed appletQueryApplicationPlayStatistics and added appletQueryApplicationPlayStatisticsByUid. Renamed AppletApplicationPlayStatistics to PdmApplicationPlayStatistics, updated it, and moved it to new file pdm.h. 2019-06-29 20:44:55 -04:00
yellows8
76b6f521fe
Added appletIsVrModeEnabled and appletSetVrModeEnabled. 2019-04-21 13:45:49 -04:00
yellows8
3b0f2014e3
Added appletGetCurrentIlluminance, appletGetCurrentIlluminanceEx, and appletIsIlluminanceAvailable. 2019-04-20 16:11:05 -04:00
yellows8
3dde2148cc
Added appletSetCpuBoostMode, appletGetCurrentPerformanceConfiguration, and ApmCpuBoostMode enum. Updated comments / various minor changes. 2019-04-14 12:16:37 -04:00
yellows8
d353213d72 Added appletHolderRequestExit. 2019-03-04 10:42:07 -05:00
yellows8
6dea82a668 Moved applet notification-msg handling code into new funcs appletGetMessage and appletProcessMessage (with some improvements), which appletMainLoop now calls. 2019-02-27 19:03:35 -05:00
exelix
ad5b8c019f Add some functions from IOverlayAppletProxy and hid:sys (#242) 2019-02-27 16:17:03 +01:00
yellows8
d61c2d07b6 Added appletRequestLaunchApplication and appletRequestLaunchApplicationForQuest. 2019-02-19 23:12:29 -05:00
yellows8
567828f44e Fixed doxygen issues / improved docs. Closes #230. 2019-02-19 16:56:33 -05: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
82e526c72f Added appletHolderActive and appletHolderCheckFinished. 2019-01-04 11:46:36 -05:00
yellows8
36a2404e4b Updated applet/swkbd comments. 2018-12-24 20:13:09 -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
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
6e10568589 Added applets/libapplet. Added appletSetThemeColorType and appletGetThemeColorType. 2018-12-19 19:49:57 -05:00
yellows8
9f63f29988 Use eventActive for g_appletLibraryAppletLaunchableEvent. Fixed _appletWaitLibraryAppletLaunchableEvent, and set rc to eventWait ret in _appletWaitLibraryAppletLaunchableEvent. Added appletHolderWaitInteractiveOut. 2018-12-19 13:00:40 -05:00
yellows8
ced4f16ee1 Fixed+enabled appletSetTerminateResult and added it to applet.h. 2018-12-18 21:45:13 -05:00
yellows8
d8683ea188 Added appletHolderPopOutData and appletHolderPopInteractiveOutData. 2018-12-18 20:07:29 -05:00
yellows8
a6e1413712 Added storage pushing for AppletHolder. Verify that the input storage is initialized in _appletCmdInStorage(). 2018-12-18 19:37:07 -05:00
yellows8
5874a272d0 Added appletHolderJoin and appletHolderGetExitReason. 2018-12-18 19:03:22 -05:00
yellows8
bca797afc2 Use LibraryAppletLaunchableEvent and handle LibraryApplet self-creation. Implemented LibraryApplet starting. 2018-12-17 20:23:43 -05:00
yellows8
8f22e9e213 Initial impl for LibraryApplet creation. 2018-12-17 12:16:46 -05:00
natinusala
c8f732fda8 Add missing applet focus states and handling modes 2018-12-17 11:03:49 -05:00
yellows8
42e7cf44cb Implemented applet IPC code for pushing storages/objects. Added appletPushToGeneralChannel(). 2018-12-16 18:16:01 -05:00
yellows8
f61e9237e6 Added accountGetPreselectedUser. 2018-12-15 21:50:27 -05:00
yellows8
41e75d0b7d Removed AppletStorage.isHandleStorage since it's not usable for storages not created by the current process. Hence, appletStorageGetSize no longer supports HandleStorage. 2018-12-15 18:11:21 -05:00
yellows8
10826dda13 Added appletPopLaunchParameter. 2018-12-15 17:31:36 -05:00
yellows8
3af857575c Added comment to appletStorageMap. 2018-12-15 16:43:53 -05:00
yellows8
d65c2ec94b Added support for tmem with AppletStorage, and added HandleStorage support. applet IPC improvements. 2018-12-15 16:34:23 -05:00
yellows8
1077cc2b46 Implemented AppletStorage. Various IPC improvements in applet.c, etc. 2018-12-13 22:48:48 -05:00
natinusala
fd4afacb01 Expose appletSetFocusHandlingMode 2018-11-08 19:27:56 -05:00
yellows8
de79614a12 Added info regarding timeout to the appletLockExit comments. 2018-10-25 12:34:33 -04:00
yellows8
bcddc1ea35 Only allow using video-recording with regular-application, since it's not usable with SystemApplication. Added _appletIsRegularApplication() for this. 2018-10-23 16:23:14 -04:00
yellows8
a15c9945a7 Updated comments regarding requirements for using video-recording, etc. Changed appletInitializeGamePlayRecording to (void) since the sysmodule only supports a fixed size. 2018-10-22 13:37:25 -04:00
yellows8
a62e29d5cf Added support for applet video-recording, currently not usable. In appletExit, only call appletSetFocusHandlingMode when g_appletExitProcessFlag is zero, so that it isn't called twice during proc-exit. 2018-10-21 22:24:54 -04:00
yellows8
57ad3cc1d2 Clarified comments for appletLockExit. 2018-10-14 16:05:24 -04:00
Samuel P
74ebf370dd add an exit request hook type, allow to delay exit (#183)
* add an exit request hook type, allow to delay exit
* appletMainLoop: return false on exit request msg
2018-10-09 11:04:33 -04:00
yellows8
16bbf3411e Added automatic process exit handling with applet cmds, see __nx_applet_exit_mode. appletSelfExit is no longer user-accessible, see __nx_applet_exit_mode instead. Added envSetExitFuncPtr. Added disabled _appletSetTerminateResult func. 2018-10-03 19:04:48 -04:00
leo60228
1c948e2d32 applet: Add appletSelfExit() 2018-09-21 15:55:06 -04:00
neonsea
20a39ef86c Add appletBeginBlockingHomeButton() and appletEndBlockingHomeButton() (#165) 2018-09-09 19:55:53 +02:00
plutooo
efacee6956 Simplify nv 2018-08-31 13:05:21 +02:00
yellows8
f07d09aeb0 Added appletGetDesiredLanguage(). In set-serv('set'), added support for all language/region commands, etc. 2018-02-26 12:34:01 -05:00
fincs
95592641f5 services/: Add Doxygen file headers; document sm.h 2018-02-10 22:40:11 +01:00
yellows8
dc785c1fee Added appletSetScreenShotPermission and appletSetScreenShotImageOrientation. Added LibnxError_IncompatSysVer. 2018-02-08 22:13:56 -05:00
plutoo
673651a51f Fix broken header files 2018-01-23 00:27:00 +01:00
plutoo
6fa8370bfb This looks better 2018-01-22 20:11:55 +01:00
TuxSH
5abc4873d8 Include only what is really necessary...
add pragma once in every header, etc.
2018-01-22 18:42:57 +01:00
plutoo
fee6b42963 Align code style for AM 2018-01-06 05:57:56 +01:00
yellows8
1fccd4a1bb Improved handling for appletNotifyRunning(). 2017-12-24 23:31:58 -05:00
yellows8
ec594bfbcf Added _appletGetOperationMode() and _appletGetPerformanceMode(). In appletInitialize(), use _appletGetOperationMode and _appletGetPerformanceMode(). Also use _appletGetCurrentFocusState() in appletInitialize() with a global field even for non-application-type. Added _appletSetOperationModeChangedNotification/_appletSetPerformanceModeChangedNotification and use these in appletInitialize(). Added appletGetOperationMode(), appletGetPerformanceMode(), and appletGetFocusState(), which load from cached state fields. Handle notifications in appletMainLoop(). Added appletOperationMode enum. Imported applet hooking from libctru. 2017-12-22 03:26:26 -05:00
yellows8
ebf81ab6ff Imported *MainLoop() from libctru. 2017-12-07 18:54:07 -05:00
yellows8
ec1faa34ef Added display+layer support. Started 'gfx'. 2017-11-03 12:33:33 -04:00
yellows8
557d68139a Implemented applet. 2017-10-27 12:20:52 -04:00