yellows8
d25144afbd
pl: Updated for new-ipc. Updated param types for plGetSharedFontByType and plGetSharedFont. Improved docs and minor other changes.
2019-10-11 01:47:23 -04:00
yellows8
44c45555cd
pctl: Updated for new-ipc. Added pctlGetServiceSession and pctlGetServiceSession_Service.
2019-10-10 22:03:22 -04:00
yellows8
1b610070f5
pdmqry: Updated for new-ipc and updated for using AccountUid. Renamed pdmqryGetUserPlayedApplications to pdmqryQueryRecentlyPlayedApplication. Renamed pdmqryGetUserAccountEvent to pdmqryGetRecentlyPlayedApplicationUpdateEvent. Minor param name adjustment.
2019-10-10 21:06:14 -04:00
yellows8
39288a832e
capssc: Updated for new-ipc.
2019-10-10 13:01:25 -04:00
yellows8
21e35ede7c
capsu: Updated for new-ipc. Updated param types for capsuGetAlbumFileList*(), and updated for using AccountUid. Improved docs.
2019-10-10 12:44:21 -04:00
yellows8
2940833a1b
caps(su): Updated for new-ipc. Updated for using AccountUid.
2019-10-08 22:01:37 -04:00
yellows8
3a1459cf4c
applet: Updated for using AccountUid and improved docs.
2019-10-08 21:05:00 -04:00
yellows8
3e5c129431
fs: Updated for using AccountUid and removed FS_SAVEDATA_USERID_COMMONSAVE.
2019-10-08 18:05:25 -04:00
yellows8
95f91c431c
account: Updated for new-ipc. Renamed the username field in AccountProfileBase to nickname. Fixed various param types, and also removed the output bool from accountGetLastOpenedUser. Added struct AccountUid for proper userIDs, which replaces u128-userIDs. Added accountUidIsValid. Added accountSetServiceType()/AccountServiceType. Improved docs and minor improvements.
...
env: Updated UserIdStorage handling for using AccountUid.
2019-10-08 15:41:18 -04:00
yellows8
040b33c457
time: Updated for new-ipc. Renamed _timeGetClockSession to timeGetServiceSession_SystemClock, and added it to the .h. Added timeGetServiceSession_TimeZoneService. Fixed the order of cmds. Fixed param types for timeGetTotalLocationNameCount, timeLoadLocationNameList, timeToPosixTime, and timeToPosixTimeWithMyRule. The location_name_size param for timeLoadLocationNameList was replaced with location_name_max, which is max entries instead of buffer byte-size. Internal improvements and improved docs.
2019-10-06 22:06:22 -04:00
yellows8
ae582d8cb4
Changed the output of appletGetOperationMode/appletGetPerformanceMode to enums AppletOperationMode/ApmPerformanceMode.
2019-10-06 19:05:58 -04:00
yellows8
71e249e6a4
apm: Updated for new-ipc. Added enum ApmPerformanceMode. Added apmGetServiceSession_Session. Improved docs.
2019-10-06 19:02:05 -04:00
yellows8
ed2d72b9ff
csrng: Updated for new-ipc. Removed copyright comment-header in the .c (other .c don't have it and the .h has one anyway).
2019-10-06 15:49:36 -04:00
yellows8
e320f3cdf1
psm: Updated for new-ipc and minor internal improvements.
2019-10-06 12:24:29 -04:00
yellows8
75795933a7
nifm: Updated for new-ipc. Added nifmGetServiceSession_StaticService and nifmGetServiceSession_GeneralService. Fixed order of cmds and improved docs. Improved _nifmCreateGeneralService.
2019-10-05 12:38:42 -04:00
yellows8
be2cb63722
wlaninf: Updated for new-ipc.
2019-10-04 20:36:51 -04:00
yellows8
1c334bafb9
set: Updated for new-ipc. Changed the type of the Language param for setMakeLanguage*() from s32 to SetLanguage. Added size_out param to setsysGetSettingsItemValue which was previously missing. Minor param name adjustment for setsysBindFatalDirtyFlagEvent. Improved docs.
2019-10-04 14:41:10 -04:00
yellows8
62192cac0a
Removed sm.h include from applet.c which is no longer needed.
2019-10-03 21:48:36 -04:00
yellows8
c4b1a68269
applet: Added macros in applet.c for defining cmds' impl in a single line, using the ipc helper funcs. Some cmds which previously didn't have NotInitialized checks now do so via the macros. Fixed the order of some cmds.
2019-10-03 20:03:45 -04:00
yellows8
9916fe93a0
applet: Updated for new-ipc, various internal improvements, and changed the transfer_size param type for appletReadThemeStorage to u64.
2019-10-02 19:02:20 -04:00
yellows8
127408a1f7
Fixed ipc output/etc for ncmContentStorageListPlaceHolder, nsvmGetSafeSystemVersion, and nsdevPrepareLaunchProgramFromHost (caused by new-ipc changes).
2019-10-01 20:43:03 -04:00
yellows8
2e56959916
Updated ts for new IPC.
2019-09-30 20:04:51 -04:00
yellows8
08272ed12e
Improved docs. Added nsGetServiceSession_GetterInterface, nsGetServiceSession_ApplicationManagerInterface, nsvmGetServiceSession, nsdevGetServiceSession, and nssuGetServiceSession.
2019-09-30 19:23:36 -04:00
yellows8
e483dc87a0
Added NsApplicationControlSource for use with nsGetApplicationControlData. Fixed actual_size handling for nsGetApplicationControlData.
2019-09-26 18:42:47 -04:00
yellows8
653a1a6b9a
Fixed the param and sysver-check for nsvmGetSafeSystemVersion, and updated docs.
2019-09-26 17:21:54 -04:00
yellows8
075a743cfb
Added support for nssu, and added the structs/enums for it. Added NSSU_CARDUPDATE_TMEM_SIZE_DEFAULT. Moved cmd_id param in the ns helper funcs to the last param. Improved docs.
2019-09-26 17:07:26 -04:00
yellows8
0749dfd67f
Added services/async.
2019-09-26 16:57:39 -04:00
Adubbz
8330f23d20
Updated ncm to new libnx ipc ( #331 )
...
* Updated to new libnx ipc
* Improved docs
* Added firmware req comments
* Improved ncmContentMetaDatabaseGetContentIdByType
* Fix ncmContentMetaDatabaseGetContentIdByTypeAndIdOffset
2019-09-25 21:52:51 -04:00
yellows8
f9eb0c88ee
Use new IPC with ns. Updated the params for nsListApplicationRecord/nsListApplicationContentMetaStatus. Updated docs.
2019-09-23 21:01:10 -04:00
fincs
c3f0210cf6
time: Correct timeToPosixTime(WithMyRule) to accept number of timestamps instead of raw byte size
2019-09-22 18:12:28 +02:00
fincs
ecbc77840e
fs: Update names of enum/flag types for style consistency and correctness
2019-09-21 19:54:21 +02:00
fincs
77888f8b1f
fs: Use new IPC interface + fixes, see details:
...
- Argument types corrected to better reflect their actual types
(mostly several incorrect instances of size_t were changed to u64)
- Const correctness fixes
- fsEventNotifierGetEventHandle changed to output an Event (with
user configurable autoclear) instead of a raw Handle
2019-09-21 16:27:15 +02:00
fincs
62d795a3c6
fs: Add support for setting priority through IPC context [5.0.0+]
2019-09-21 03:31:08 +02:00
fincs
8a0aef8824
Fix new compiler warnings raised by GCC 9.x
2019-09-21 00:58:33 +02:00
Michael Scire
76daefae78
ro: update to use new-ipc
2019-09-20 12:17:57 -07:00
Michael Scire
f5f768ea5c
fsldr: update to use new-ipc
2019-09-20 12:17:46 -07:00
Michael Scire
aafbc310c2
spl: update to use new-ipc
2019-09-20 12:17:27 -07:00
Michael Scire
f465206082
pm: update to use new-ipc
2019-09-20 12:16:54 -07:00
fincs
10d07f3a8a
fs: Implement skeleton required for new IPC and multi-session support (no actual cmds converted yet to new IPC)
2019-09-20 19:39:32 +02:00
fincs
96fc7dd8cd
Minor style fixes in new IPC code
2019-09-20 14:54:45 +02:00
fincs
5ab1219f40
Add internal service guard helper, needed for proper thread safe service init/exit
2019-09-20 02:28:46 +02:00
fincs
4eda677b93
Add compiler optimization hint to remove unused domain handling code
2019-09-20 01:36:22 +02:00
fincs
dedd29b431
sm: Remove smHasInitialized (use Initialize+GetService+Exit instead)
2019-09-19 23:47:37 +02:00
fincs
43ad77e8d2
nv: Use new IPC interface
2019-09-19 13:23:16 +02:00
fincs
99c325ed5b
Further cleanup in SM code; smEncodeName is now constexpr
2019-09-19 12:56:21 +02:00
fincs
51db782e7a
fatal: Use new IPC interface
2019-09-19 04:23:00 +02:00
fincs
6ad0042147
Introduce new IPC interface wrapper code, see details:
...
- Service object moved away from sm.h and into its own file (sf/service.h)
- Service object completely redesigned, but a (mostly)
backwards compatible API was kept
- New low level HIPC request/response code
- New CMIF client-oriented code
- New service IPC dispatch functions
- Pointer buffer size automatically retrieved for all sessions
- Removed previous manual pointer buffer size query code
- SM rewritten with new IPC code
- All other services are still pending IPC rewrite
2019-09-19 03:50:28 +02:00
yellows8
f4fe3376bd
Fixed the names for nsdevLaunchApplication, nsdevLaunchApplicationWithStorageId, nsdevGetRunningApplicationProcessId, and nsdevSetCurrentApplicationRightsEnvironmentCanBeActive. Updated the sysver checks for nsdevIsSystemMemoryResourceLimitBoosted since it was removed with [9.0.0+].
2019-09-17 13:19:29 -04:00
yellows8
b1317d3ff8
Added ts.
2019-09-14 20:46:37 -04:00
yellows8
4ce9c0b038
Updated hdls to support [9.0.0+]. Added hiddbgGetUniquePadDeviceTypeSetInternal. Actually load the output rc from resp in AbstractedPad/VirtualPad funcs.
2019-09-14 11:13:56 -04:00
fincs
c10e70df3a
Fix typo
2019-09-13 13:16:54 +02:00
SciresM
c55383c973
lr: fix 9.x RedirectApplication* commands ( #326 )
...
* lr: fix 9.x RedirectApplication* commands
* lr: correct LegalInformation->ApplicationLegalInformation
2019-09-13 12:34:21 +02:00
yellows8
326619c271
Added hidGetNpadInterfaceType.
2019-09-13 00:05:43 -04:00
yellows8
81781f0782
Use hidControllerIDToOfficial for the input id, with hidSetNpadJoyAssignmentModeSingleByDefault, hidSetNpadJoyAssignmentModeDual, and hidMergeSingleJoyAsDualJoy.
2019-09-12 23:28:07 -04:00
Michael Scire
1a676a68f5
hid: set SYSTEM/SYSTEM_EXT as supported styles.
...
Starting in 9.0.0, HID shared memory no longer populates
the SystemExt controller (which libnx calls LAYOUT_DEFAULT) unless
it is explicitly set as supported. This changes hidInitialize() to
set it and System as supported.
2019-09-12 12:48:27 +02:00
yellows8
b06a6ff29f
Updated sysver checks for the AbstractedPad cmds which were removed in [9.0.0+].
2019-09-11 16:36:08 -04:00
yellows8
b7311b6ab1
Added support for capsu. Updated caps.h. Improved docs. Added enum CapsContentType. Added structs CapsScreenShotAttributeForApplication, CapsScreenShotDecodeOption, CapsApplicationAlbumFileEntry, and CapsLoadAlbumScreenShotImageOutputForApplication. Added capsGetDefaultStartDateTime, capsGetDefaultEndDateTime, capsConvertApplicationAlbumFileEntryToApplicationAlbumEntry, and capsConvertApplicationAlbumEntryToApplicationAlbumFileEntry.
2019-09-08 19:20:17 -04:00
yellows8
7d71d4f3a1
Use BufferType_Type1 in _capssuSaveScreenShotEx0, instead of a constant.
2019-09-02 16:46:21 -04:00
yellows8
4f74aa1ad1
Updated docs for OffscreenRecordingParameter. Updated param names for grcMovieMakerFinish.
2019-08-31 19:07:11 -04:00
yellows8
eeabd3bed0
Added capssuSaveScreenShotWithUserData, capssuSaveScreenShotWithUserIds, capssuSaveScreenShotEx1, and capssuSaveScreenShotEx2. Updated params for capssuSaveScreenShot and capssuSaveScreenShotEx0. Added enum AlbumReportOption, and structs CapsApplicationData/CapsUserIdList. Updated CapsScreenShotAttribute. Updated docs.
2019-08-30 23:17:58 -04:00
yellows8
5dc2fc0b7e
Removed AlbumFileEntry and reverted grcMovieMakerFinish back to using CapsApplicationAlbumEntry, since AlbumFileEntry is a duplicate of multiple other structs.
2019-08-30 12:55:50 -04:00
yellows8
7515bb4466
Use SetShimLibraryVersion with capssu.
2019-08-29 21:19:58 -04:00
yellows8
6d7d96a751
Added struct AlbumFileEntry, which grcMovieMakerFinish now uses. Updated CapsApplicationAlbumEntry.
2019-08-28 22:56:20 -04:00
yellows8
b269f58f8f
Renamed capsscCaptureScreenshot to capsscCaptureRawImageWithTimeout.
2019-08-28 22:38:12 -04:00
yellows8
318f2b33b6
Added appletCreateMovieMaker. Added support for grc MovieMaker. Improved grc docs.
2019-08-28 18:41:43 -04:00
yellows8
e7209bbcf5
Fixed the name of setsysGetServiceSession in the .c, so that it matches the .h.
2019-08-28 17:14:40 -04:00
yellows8
c790aa0fab
Added capsGetShimLibraryVersion. Added comments to audio.h.
2019-08-27 19:14:18 -04:00
yellows8
4177031ebe
Use the same style for all system-versions.
2019-08-26 13:05:49 -04:00
yellows8
0569ca7588
Updated docs. Use proper doxygen sections instead of plain comments, and use same style for all system-versions in applet docs. Internal applet.c improvements. Added appletGetServiceSession_*() funcs.
2019-08-26 10:40:24 -04:00
yellows8
5e535bc2eb
Added support for grcd.
2019-08-24 23:30:30 -04:00
yellows8
86ab999ee2
Added grc, for trimming videos. Added appletCreateGameMovieTrimmer, appletReserveResourceForMovieOperation, and appletUnreserveResourceForMovieOperation. Added structs CapsAlbumFileDateTime/CapsAlbumEntryId and updated CapsAlbumEntry.
2019-08-24 10:55:43 -04:00
yellows8
7c18df6d4c
Added appletRequestFlushGamePlayingMovieForDebug.
2019-08-22 10:27:49 -04:00
yellows8
c7cab0351c
Added appletExecuteProgram, appletJumpToSubApplicationProgramForDevelopment, appletRestartProgram, and appletGetPreviousProgramIndex. Added AppletProgramSpecifyKind.
2019-08-21 17:38:35 -04:00
yellows8
79e6db16be
Added appletPrepareForJit.
2019-08-21 12:14:29 -04:00
yellows8
c3b32581c9
Added appletGetLaunchStorageInfoForDebug.
2019-08-20 18:16:45 -04:00
yellows8
487aed9a59
Added appletTerminateAllLibraryApplets/appletAreAnyLibraryAppletsLeft and appletApplicationTerminateAllLibraryApplets/appletApplicationAreAnyLibraryAppletsLeft.
2019-08-20 14:33:56 -04:00
yellows8
e069da4320
Added appletHolderTerminate.
2019-08-20 11:44:55 -04:00
yellows8
0f8e18573d
Added appletLaunchDevMenu.
2019-08-20 11:19:49 -04:00
yellows8
447ca35c29
Added appletPopRequestLaunchApplicationForDebug.
2019-08-19 22:08:19 -04:00
yellows8
579a5203b6
Added appletBeginToObserveHidInputForDevelop.
2019-08-19 21:19:47 -04:00
yellows8
ecd9127bed
Added appletHolderRequestExitOrTerminate and appletApplicationRequestExitLibraryAppletOrTerminate. Minor internal improvements.
2019-08-18 23:15:41 -04:00
yellows8
c34bea8d4c
Improved infinite-sleep-loop handling, and use it for appletStartShutdownSequenceForOverlay/appletStartRebootSequenceForOverlay.
2019-08-18 19:40:17 -04:00
yellows8
f1dfb2c23b
Added support for AppletApplication. Added AppletApplicationExitReason. Added AppletApplicationLaunchProperty and AppletApplicationLaunchRequestInfo. Added appletCreateApplication, appletPopLaunchRequestedApplication, appletCreateSystemApplication, appletPopFloatingApplicationForDevelopment, and appletOpenMainApplication. Minor internal changes + updated docs.
2019-08-18 17:30:11 -04:00
Alex Barney
758db03ca4
Add some FS commands ( #321 )
...
* Implement fsOpenCustomStorageFileSystem
* Add more FS commands
fsExtendSaveDataFileSystem
fsSetGlobalAccessLogMode
fsGetGlobalAccessLogMode
* Savedata sizes are signed.
2019-08-17 11:36:43 -04:00
yellows8
e7a09f7be7
Added appletGetAppletResourceUsageInfo. Added struct AppletResourceUsageInfo.
2019-08-17 00:34:46 -04:00
yellows8
19741cb103
Added appletRequestLaunchApplicationWithUserAndArgumentForDebug.
2019-08-16 23:56:29 -04:00
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
287bb00981
Enter an infinite-sleep-loop in _appletExitProcess when the exit cmds were successful, this is used with __nx_applet_exit_mode handling. Minor other changes.
2019-08-16 20:33:09 -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
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
averne
f13d9ba6cc
Added viDestroyManagedLayer ( #316 )
2019-08-08 12:41:10 +02: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
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
773111b3f2
Cache the preselected user in accountInitialize. Get/set the preselected userID in env, so that accountGetPreselectedUser() is usable multiple times. Renamed accountGetActiveUser to accountGetLastOpenedUser. Improved docs.
2019-07-29 19:00:52 -04:00
yellows8
4fa878f4b1
Added hidGetSupportedNpadStyleSet. Moved hidSetSupportedNpadStyleSet to match cmd order. Added hidsysGetSupportedNpadStyleSetOfCallerApplet.
2019-07-29 18:22:46 -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
Adubbz
b59682652d
Implement various SaveDataExtraData commands ( #315 )
...
* Implement fsReadSaveDataFileSystemExtraData
* Implement fsReadSaveDataFileSystemExtraDataBySaveDataSpaceId and fsWriteSaveDataFileSystemExtraData
2019-07-24 11:28:05 -04:00
yellows8
a5e4609be3
Added appletGetProgramTotalActiveTime.
2019-07-23 10:57:35 -04:00
averne
2b84eaeaed
Fix nfc:user command ids
2019-07-22 22:13:32 +02:00
Adubbz
bc5d01400f
Implement fsOpenGameCardFileSystem
2019-07-22 22:09:22 +02: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
f760be337e
Minor internal applet.c improvements.
2019-07-17 17:27:01 -04:00
yellows8
c484b33995
Use InitializeApplicationInfo in accountInitialize when initializing with acc:u0. Handle cleanup on failure in accountInitialize.
2019-07-16 18:20:29 -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
Michael Scire
463c0f3379
vi: fix manager/system service init
2019-07-16 00:08:54 +02: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
friedkeenan
da4c060278
Add a bunch of GetServiceSession functions ( #305 )
...
* Add a bunch of GetServiceSession functions
2019-07-13 15:09:28 -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
Adubbz
0e724040ad
Added fsDeleteSaveDataFileSystemBySaveDataSpaceId ( #304 )
2019-07-13 14:21:16 +02:00
yellows8
f418536e37
Added support for pdmqry.
2019-07-09 21:18:42 -04:00
Adubbz
4f441a4f28
Implement fsCreateSaveDataFileSystemBySystemSaveDataId (and wrappers) + fsDisableAutoSaveDataCreation ( #302 )
...
Also fixes everal cases of weird naming in fs
2019-07-05 03:56:52 +02:00
friedkeenan
61c0f4b2d9
Add hidsysGetUniquePadSerialNumber ( #303 )
2019-07-05 03:55:22 +02:00
Thomas Guillemard
2c1763c692
Add more ITimeZoneService related commands ( #300 )
...
This commit adds timeGetDeviceLocationName, timeSetDeviceLocationName, timeGetTotalLocationNameCount, timeLoadLocationNameList, timeLoadTimeZoneRule, timeToPosixTime, timeToPosixTimeWithMyRule, and timeToCalendarTime.
2019-07-03 21:29:24 +02:00
yellows8
9a607a369e
Properly convert the input id in irsGetIrCameraHandle().
2019-07-01 22:04:48 -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
b938016a67
Minor hiddbg fixes.
2019-06-28 21:39:33 -04:00
yellows8
156410b549
Added support for AbstractedPad. Improved hiddbgInitialize(). Updated hiddbg docs.
2019-06-28 21:36:53 -04:00
SciresM
950e1ec5ed
pm: add bm cmds, BoostSystemThreadResourceLimit ( #299 )
2019-06-29 00:35:22 +02:00
yellows8
e1e2a05a34
Added hiddbgUpdateControllerColor and hiddbgUpdateDesignInfo.
2019-06-26 15:05:11 -04:00
Michael Scire
a065244e4b
ldr: fix getter error
2019-06-26 19:16:10 +02:00
Michael Scire
48133f72ce
ldr: add getters for shell/dmnt/pm
2019-06-26 17:33:10 +02:00
yellows8
74c102ed3f
Added hiddbgReadSerialFlash.
2019-06-25 22:40:49 -04:00
Michael Scire
18f977aa76
pm: add getters for pminfo, pmshell
2019-06-25 16:13:52 +02:00
Michael Scire
6978003c42
sm/smm: Add GetServiceSession
2019-06-24 21:43:45 +02:00
yellows8
5a3eb542b2
Updated Hdls structs and docs. Added hidGetControllerDeviceType, hidGetControllerFlags, and hidGetControllerPowerInfo. Added/updated hid structs.
2019-06-08 21:51:46 -04:00
yellows8
3e39f97fe5
Added support for hiddbg Hdls.
2019-06-06 20:52:33 -04:00
thedax
133ffe92fd
Implement setsys GetDeviceNickname/SetDeviceNickname ( #289 )
...
* Implement setsys(Get/Set)DeviceNickname.
Thanks to @shchmue & @thog for tips on the send/recv buffers!
2019-06-04 10:22:51 -04:00
Adubbz
8cf419802a
Implement fsOpenContentStorageFileSystem, fsGetRightsIdByPath & fsGetRightsIdAndKeyGenerationByPath ( #288 )
...
* Implement fsOpenContentStorageFileSystem, fsGetRightsIdByPath & fsGetRightsIdAndKeyGenerationByPath
2019-06-03 14:51:21 -04:00
Michael Scire
3afc9ae371
Add FsBisStorageId enum
2019-06-03 14:48:45 -04:00
Michael Scire
ac9d76f373
fs: fix file/storage API, add fsdevCreateFile, add fsOpenFileSystemWithPatch.
2019-06-03 14:48:45 -04:00
Ac_K
a3381d3d64
hidsysSetNotificationLedPattern cleanup
...
Fix a copy/paste issue in hidsysSetNotificationLedPattern
2019-06-01 16:00:28 -04:00
Alex Barney
bd1f9258b2
Fix fsFsCreateFile command parameters
2019-05-31 09:56:03 -04:00
Thomas Guillemard
977bb9d7e8
i2c: add ReceiveAudo and ExecuteCommandList
...
Also make buf const in SendAuto.
2019-05-17 19:38:47 -04:00
yellows8
f6f6adf1cb
Use the proper IPC buffer type for _usbHsEpGetXferReport with [3.0.0+].
2019-05-16 18:48:19 -04:00
XorTroll
5452a4bd5f
Fix ro services
2019-05-11 20:25:06 +02:00
Michael Scire
a1861509f5
ncm: add ncmContentMetaDatabaseGetAttributes
2019-05-09 12:42:50 +02:00
yellows8
afaa33df2e
Added partial support for SevenSixAxisSensor.
2019-05-03 18:38:37 -04:00
Michael Scire
4094c014ff
spl: fix BootReason command names
2019-05-03 03:33:56 +02:00
yellows8
46d5771312
const for hidsysSetNotificationLedPattern input pattern.
2019-04-25 19:30:10 -04:00
yellows8
bed9213f41
Added hidsysSetNotificationLedPattern and the struct for it.
2019-04-25 19:27:45 -04:00
yellows8
d4789c37c9
Added hidsysGetUniquePadsFromNpad and hidsysGetUniquePadIds.
2019-04-25 14:31:00 -04:00
SciresM
d6ba6d9625
sm: add retry loop in smInitialize ( #270 )
2019-04-25 17:43:39 +02:00
Michael Scire
0666e4651e
spl: fix cryptAesCtr definition
2019-04-25 14:39:10 +02:00
SciresM
ee34c620f7
pcv: add pcvGetModuleId ( #269 )
...
* pcv: add pcvGetModuleId
2019-04-24 19:44:13 -04:00
Samuel P
bc1786b7b0
pcv Set/GetClockRate changes in 8.0.0 ( #266 )
...
* version check on pre-8.0.0 pcv funcs
* clkrst API
* Add PcvModuleId enum
2019-04-24 13:36:19 -04:00
yellows8
1dd057ac09
Added pctlConfirmStereoVisionPermission and pctlResetConfirmedStereoVisionPermission.
2019-04-22 12:33:01 -04:00
Michael Scire
9884ce0462
ldr: change ldrDmntGetModuleInfos to match roDmnt
2019-04-22 16:57:03 +02:00
Michael Scire
50db74a15b
Implement ro:1
2019-04-22 16:57:03 +02:00
Michael Scire
23bd10f6db
ro: add ldrRoLoadNrrEx, fix roDmnt
2019-04-22 16:57:03 +02: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
2916bd631a
Added pctlIsStereoVisionPermitted.
2019-04-20 16:09:35 -04:00
fincs
2f70ee6a92
Remove apm:p support as per 8.0.0
2019-04-16 17:45:12 +02:00
yellows8
3dde2148cc
Added appletSetCpuBoostMode, appletGetCurrentPerformanceConfiguration, and ApmCpuBoostMode enum. Updated comments / various minor changes.
2019-04-14 12:16:37 -04:00
yellows8
39f40b26ae
Added pctl.
2019-04-01 21:29:51 -04:00
Michael Scire
1bea504732
Added fsOpenDataStorageByDataId and romfsMountFromDataArchive
2019-03-25 00:02:18 +01:00
natinusala
9c016a4cee
Implemented nifmGetInternetConnectionStatus
2019-03-19 12:35:52 -04:00
Michael Theall
b49cb8a1a6
const params for usbDs
2019-03-16 00:07:39 +01:00
exelix
093471609d
Change nifm initialization mode and add SetWirelessCommunicationEnabled ( #247 )
...
* Init nifm in the proper context, add SetWirelessCommunicationEnabled
* add nifmSetServiceType to set which nifm service to init
2019-03-15 17:11:40 -04:00
natinusala
a7facade0a
Implement wlaninfGetState and wlaninfGetRSSI
2019-03-15 11:35:02 -04:00
yellows8
c542d3ab8a
Added hidMouseMultiRead + mouse handling adjustments. Closes #235 .
2019-03-11 23:34:58 -04:00
yellows8
9e52d7c4df
Check for sysver [3.0.0+] for viSetDisplayMagnification.
2019-03-06 13:56:36 -05:00
exelix
2d1116743e
Add wrappers for brightness-related functions ( #246 )
...
* Add wrappers for brightness-related functions
2019-03-04 21:37:33 -05:00
yellows8
d353213d72
Added appletHolderRequestExit.
2019-03-04 10:42:07 -05:00
yellows8
ff3a4f9844
Renamed usbDsEndpoint_StallCtrl to *Stall.
2019-03-01 12:40:23 -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
Michael Scire
d2c24bbe10
pm: Add pmdmntGetServiceSession()
2019-02-27 12:44:44 +01:00
yellows8
9f45bb4d7e
Fixed IPC issues with bsdRead.
2019-02-24 22:17:27 -05:00
yellows8
d61c2d07b6
Added appletRequestLaunchApplication and appletRequestLaunchApplicationForQuest.
2019-02-19 23:12:29 -05:00
yellows8
821c46539d
Added 7.0.0+ support for _viCreateStrayLayer.
2019-02-18 22:26:22 -05:00
fincs
11b7bece4a
Change all services except fatal to use hosversion* instead of kernelAboveXYZ
2019-02-18 21:48:49 +01:00
yellows8
1cb2c18fa5
Added capssc.
2019-02-15 20:30:39 -05:00
averne
7d9601810d
Added nfp:user services wrappers. ( #237 )
...
* hid: move official/libnx controller converters to hid.h
2019-02-15 19:06:41 +01:00
yellows8
16cbf1c9f6
Fixed minimum required sysver for capssu.
2019-02-11 20:36:41 -05:00
yellows8
e02b6c167a
Added capssu and caps.h.
2019-02-08 19:47:13 -05:00
Lioncash
224ba8a87d
hwopus: Provide a better name for the flag parameter of _hwopusDecodeInterleaved()
...
This is a flag that determines whether or not a request to reset the
decoder context should occur prior to decoding. This is an analogue to the
libopus ctl:
opus_decoder_ctl(decoder, OPUS_RESET_STATE);
which is generally used when switching streams to keep decoder state
consistent.
2019-01-30 18:00:48 +01:00
shibbs
131b92a8c8
Add in more NIFM functionality ( #236 )
2019-01-27 00:12:15 +01:00
yellows8
203aa2b368
Added viGetIndirectLayerImageMap and viGetIndirectLayerImageRequiredMemoryInfo.
2019-01-14 11:12:49 -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
XProger
f589310ef2
fix unusable touch by adding touch identifier into touchPosition
2019-01-03 21:16:06 +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
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
Michael Scire
798d8ff50c
Add vi wrappers for system StrayLayer usage.
2018-12-19 19:33:31 +01:00
fincs
ae77cbea97
gfx/hid/irs/nv/vi: changes related to sysmodule users, see details:
...
- Removed hard dependency on applet
- Allow appletGetAppletResourceUserId to fail (using default zero in that case)
- nvInitialize uses nvdrv:s for AppletType_None
- gfx now uses weak global __nx_gfx_vi_service_type for the ViServiceType passed to viInitialize
2018-12-19 19:33:31 +01: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
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
yellows8
8b86e4ecb8
Use domains for applet.
2018-12-12 21:13:01 -05:00
Michael Scire
3cff199b42
Add remaining pm:shell services, address issues
2018-12-10 00:12:46 +01:00
Michael Scire
0fad4244da
Add ro:dmnt, ldr:ro.
2018-12-10 00:12:46 +01:00
Michael Scire
8e1ba23b83
pm: Add remaining pm:dmnt services
2018-12-10 00:12:46 +01:00
Michael Scire
0a92b0eb07
ns: Implement all of ns:dev
2018-12-10 00:12:46 +01:00
plutooo
bfad4d4557
Fix whitespace
2018-12-09 19:07:39 +01:00
plutooo
c328a74f71
Add fsIsExFatSupported()
2018-12-09 17:06:47 +01:00
yellows8
bc2dff0361
Added hidAcquireNpadStyleSetUpdateEventHandle.
2018-12-02 16:48:59 -05:00
Michael Scire
2a831c6196
Fix struct definition for splSetConfig
2018-12-01 21:29:41 +01:00
yellows8
ee066a27ee
Implemented usbhs endpoints, other adjustments. Updated field name in UsbHsXferReport. Added defines in usb.h from libusb.
2018-11-30 20:13:58 -05:00
yellows8
31cea3a6b6
Implemented usbhs control transfers. Fixed eventCtrlXfer init. Updated a field name in UsbHsXferReport.
2018-11-30 20:13:58 -05:00
yellows8
2049ff081d
Updated usbhs comments and store the interface ID in UsbHsClientIfSession. Added: usbHsIfSetInterface, usbHsIfGetInterface, usbHsIfGetAlternateInterface, usbHsIfGetCurrentFrame, and usbHsIfResetDevice.
2018-11-30 20:13:58 -05:00
yellows8
83dfc58adb
Moved interface-specific data from UsbHsInterface into UsbHsInterfaceInfo. Added usbHsAcquireUsbIf/usbHsIfClose and the related structs.
2018-11-30 20:13:58 -05:00
yellows8
f1ba199d1c
Initial usbhs support.
2018-11-30 20:13:58 -05:00