Commit Graph

1572 Commits

Author SHA1 Message Date
yellows8
cbe9fae600
hid: Added hidSetSixAxisSensorFusionParameters, hidGetSixAxisSensorFusionParameters, and hidResetSixAxisSensorFusionParameters. 2020-01-11 22:37:07 -05:00
yellows8
f040706743
In _hidActivateConsoleSixAxisSensor, use cmd ActivateConsoleSixAxisSensor instead of ActivateSevenSixAxisSensor. 2020-01-09 18:42:06 -05:00
HookedBehemoth
f34de8fb54 added caps:a (#358)
* added caps:a

* change struct names
2020-01-09 15:32:34 -05:00
Pablo Curiel
1719eda9fb Update documentation about fsdevMountDevice() to inform about trailing colons in device names. (#362) 2020-01-02 02:20:32 +01:00
yellows8
1bb1aef2f7
Only init/exit apm from applet with AppletType_Application. Closes #360. 2019-12-23 10:50:52 -05:00
yellows8
f043307e7f
In __libnx_init_time(), use 'NX' for the tzname instead of the actual timezone-name. Using the original tzname causes issues with certain timezones. Closes #353. 2019-12-19 16:22:45 -05:00
yellows8
fb01dd8196
psel: Removed TODO comment. 2019-12-19 16:16:58 -05:00
fincs
ce394330a8
svcSignalProcessWideKey doesn't actually return anything 2019-12-18 00:40:27 +01:00
ITotalJustice
0881fb9e0b Add set:cal service with a few cal functions. (#356)
* Add set:cal service with a few functions
* Added more cal structs`
2019-12-16 16:20:00 -05:00
yellows8
d25bcc486a
Properly fixed __nx_applet_exit_mode handling, previously appletExit() called by _appletExitProcess didn't run since refcount was already 0. Closes #355. 2019-12-14 11:52:40 -05:00
fincs
2f7d9bf026
Delete old IPC 🎉 2019-12-12 02:25:05 +01:00
fincs
d1e5a5d6c8
libnx v3.0.0 2019-12-11 00:40:38 +01:00
yellows8
15490b15f6
applet: Added support for using appletSetHandlingHomeButtonShortPressedEnabled with non-AppletType_OverlayApplet on [9.1.0+]. 2019-12-08 16:45:47 -05:00
yellows8
26876cec38
nacp: Updated field-name style to match rest of libnx. Added NacpSendReceiveConfiguration. Renamed version to display_version. Renamed reserved_x3141 to startup_user_account_option, and renamed reserved_x3142 to reserved_for_user_account_save_data_operation. Added fields send_data_configuration, receivable_data_configurations, jit_configuration_flag, and memory_size. 2019-12-07 18:00:17 -05:00
yellows8
6d75ce4f93
Updated docs for FsGameCardAttribute, and added FsGameCardAttribute_DifferentRegionCupToTerraDeviceFlag/FsGameCardAttribute_DifferentRegionCupToGlobalDeviceFlag. 2019-12-06 22:48:34 -05:00
yellows8
6900a0241c
applet/time/set: Added TimeSteadyClockTimePoint. Updated appletSetDesirableKeyboardLayout/appletGetDesirableKeyboardLayout for using TimeSteadyClockTimePoint.
* Added SetSysUserSelectorFlag, SetSysEulaVersionClockType, SetSysNotificationVolume, SetSysFriendPresenceOverlayPermission, SetSysPrimaryAlbumStorage, SetSysHandheldSleepPlan, SetSysConsoleSleepPlan, SetSysErrorReportSharePermission, SetKeyboardLayout, and SetChineseTraditionalInputMethod.

* Added SetBatteryLot, SetSysUserSelectorSettings, SetSysAccountSettings, SetSysEulaVersion, SetSysNotificationTime, SetSysNotificationSettings, SetSysAccountNotificationSettings, SetSysTvSettings, SetSysDataDeletionSettings, SetSysSleepSettings, SetSysInitialLaunchSettings, and SetSysRebootlessSystemUpdateVersion.

* Added setsysSetLanguageCode, setsysGetAccountSettings/setsysSetAccountSettings, setsysGetEulaVersions/setsysSetEulaVersions, setsysGetNotificationSettings/setsysSetNotificationSettings, setsysGetAccountNotificationSettings/setsysSetAccountNotificationSettings, setsysGetTvSettings/setsysSetTvSettings, setsysGetDataDeletionSettings/setsysSetDataDeletionSettings, setsysGetWirelessCertificationFileSize/setsysGetWirelessCertificationFile, setsysSetRegionCode, setsysGetPrimaryAlbumStorage/setsysSetPrimaryAlbumStorage, setsysGetBatteryLot, setsysGetSleepSettings/setsysSetSleepSettings, setsysGetInitialLaunchSettings/setsysSetInitialLaunchSettings, setsysGetProductModel, setsysGetMiiAuthorId, setsysGetErrorReportSharePermission/setsysSetErrorReportSharePermission, setsysGetAppletLaunchFlags/setsysSetAppletLaunchFlags, setsysGetKeyboardLayout/setsysSetKeyboardLayout, setsysGetRebootlessSystemUpdateVersion, and setsysGetChineseTraditionalInputMethod/setsysSetChineseTraditionalInputMethod.
2019-12-06 21:13:43 -05:00
yellows8
c4bc7b24a0
Added type Uuid and use it where needed. Renamed the c field in NcmPlaceHolderId to uuid. Removed PACKED from WebWifiPageArg/WebWifiReturnValue. 2019-12-03 23:31:01 -05:00
SciresM
afe030f08b rwlock: revamp completely (#350)
Implements rwlockTryReadLock and rwlockTryWriteLock.
Also implements rwlockIsWriteLockHeldByCurrentThread and
rwlockIsOwnedByCurrentThread.

Also re-designs RwLock to have semantics identical to
Nintendo's (nn::os::ReaderWriterLock). The upshot is mostly
that the lock is now fully recursive/write-preferring.
2019-12-03 23:16:40 +01:00
yellows8
4626b50341
ncm_types: Replaced the typedef for NcmContentMetaInfo with an actual struct. Closes #351. 2019-12-03 15:05:29 -05:00
yellows8
bbcabee29f
psel: Number of improvements. Added PselUiMode_NintendoAccountAuthorizationRequestContext. Various naming adjustments. Implemented pselShowUserSelector properly, and added pselShowUserSelectorForSystem/pselShowUserSelectorForLauncher. Use accountIsUserRegistrationRequestPermitted and accountTrySelectUserWithoutInteraction. Added PselUserSelectionPurpose, PselNintendoAccountStartupDialogType, PselUserSelectionSettings, and PselUserSelectionSettingsForSystemService. 2019-12-03 13:34:27 -05:00
yellows8
bd04667eda
Added LibnxError_ShouldNotHappen. 2019-12-03 13:13:32 -05:00
yellows8
42aa0800f7
account: Added accountIsUserRegistrationRequestPermitted and accountTrySelectUserWithoutInteraction. 2019-12-03 13:13:11 -05:00
yellows8
4078de1eff
psel: Various improvements, including proper version handling. Updated names. Renamed/added modes, with sysver docs. Don't use ptrs for input AccountUids. Added pselShowUserCreatorForStarter and pselShowNintendoAccountNnidLinker. Directly return the Result from PselUiReturnArg. Removed the output user param from pselShowUserCreator. 2019-12-01 18:34:50 -05:00
yellows8
5182b57a1d
fs/fs_dev: Added FsFileSystemQueryId_IsValidSignedSystemPartitionOnSdCard, fsFsIsValidSignedSystemPartitionOnSdCard, and fsdevIsValidSignedSystemPartitionOnSdCard. Improved docs. 2019-11-28 18:51:52 -05:00
yellows8
dea3f140f1
Minor hidLa docs improvement. 2019-11-28 18:47:00 -05:00
yellows8
f00898c4d8
Improved hidLa docs. 2019-11-28 16:11:06 -05:00
yellows8
9f28d0002a
Added support for hidLa (controller libapplet). 2019-11-28 16:04:46 -05:00
yellows8
c9f6100e1c
hid: Added hidGetNpadJoyHoldType. 2019-11-28 15:01:42 -05:00
yellows8
8fe48e8eac
fs/fs_dev/romfs_dev: Updated various types to use s64. Removed the inval param from fsDirRead since it doesn't exist. Renamed fileSize in FsDirectoryEntry to file_size and updated the type. Renamed FsFileSystemQueryType to FsFileSystemQueryId, and renamed FsFileSystemQueryType_SetArchiveBit to FsFileSystemQueryId_SetConcatenationFileAttribute. Renamed fsFsSetArchiveBit to fsFsSetConcatenationFileAttribute. Renamed fsdevSetArchiveBit to fsdevSetConcatenationFileAttribute. Minor other changes. 2019-11-28 14:58:55 -05:00
XorTroll
3925e92828 Add psel (playerSelect) support (#335)
* Add psel (playerSelect) support
2019-11-27 12:50:34 -05: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
9029e9f38d
Added NcmPackagedContentInfo. 2019-11-23 20:22:29 -05:00
shchmue
1c883145a8 Add FsSaveDataFlag for BIT(3) 2019-11-24 02:17:55 +01:00
fincs
324a3624ac
new-ipc: Introduce serviceCreateNonDomainSubservice in order to avoid calling cmifQueryPointerBufferSize during response parsing and corrupting output data as a result [bug found by @SciresM] 2019-11-21 16:27:36 +01:00
The Dax
cd9f29fc8e Add support for setting/getting the Internet time sync flag.
(IsUserSystemClockAutomaticCorrectionEnabled and 	SetUserSystemClockAutomaticCorrectionEnabled.)
2019-11-20 01:16:23 +01:00
yellows8
bcac85852a
Added InfoType_IsApplication. 2019-11-18 22:30:19 -05:00
yellows8
170942a781
Updated docs for nssuControlSetupToReceiveSystemUpdate. 2019-11-18 16:50:12 -05:00
yellows8
2b6197a51a
hid: Use _hidActivateConsoleSixAxisSensor instead of _hidActivateSevenSixAxisSensor, and moved the code using this to near the start of hidInitializeSevenSixAxisSensor. 2019-11-18 12:38:12 -05:00
yellows8
167bd9e110
hid: Use ActivateNpadWithRevision with the sysver-specific revision value in _hidActivateNpad(), on [5.0.0+]. 2019-11-18 12:25:48 -05:00
yellows8
70ddae58ff
acc/nfc/nifm: Removed *SetServiceType and moved the service_type param into the actual {service}Initialize() funcs. Removed *ServiceType_NotInitialized and updated the *ServiceType enum values. Minor other changes / improved nifm docs. 2019-11-18 10:52:46 -05:00
yellows8
d4c0c2dfeb
Updated notif docs. 2019-11-17 18:40:37 -05:00
yellows8
fcd7e36a9d
Added actual support for notif + improved docs. 2019-11-17 18:25:57 -05:00
yellows8
f181807215
fs/fs_dev: Updated names to match wiki. Updated param names. Renamed FS_SAVEDATA_CURRENT_PROGRAMID to FS_SAVEDATA_CURRENT_APPLICATIONID. Updated field names in FsSaveDataAttribute, FsSaveDataExtraData, FsSaveDataCreationInfo, and FsSaveDataInfo. Updated names for the enum values for FsSaveDataSpaceId, FsSaveDataType, FsSaveDataFlags, and FsGameCardAttribute. Added FsSaveDataSpaceId_SdUser and FsSaveDataSpaceId_SafeMode. Added FsSaveDataType_SystemBcat. Added FsSaveDataRank. Fixed the name for FsGameCardPartition and added FsGameCardPartition_Logo. Renamed FsBisStorageId to FsBisPartitionId, updated the enum value names for it, and added FsBisPartitionId_SignedSystemPartitionOnSafeMode. Improved docs / minor other changes. 2019-11-16 16:07:10 -05:00
yellows8
8216043ea1
applet: Fixed the prefix for *PushToFriendInvitationStorageChannel/*PushToNotificationStorageChannel. Added support for all [9.0.0+] IDebugFunctions cmds. Minor internal changes + improved docs. 2019-11-15 18:08:46 -05:00
yellows8
1e58385bd5
Added appletGetFriendInvitationStorageChannelEvent, appletTryPopFromFriendInvitationStorageChannel, appletGetNotificationStorageChannelEvent, and appletTryPopFromNotificationStorageChannel. Added appletPushToFriendInvitationStorageChannel/appletPushToNotificationStorageChannel. Added friendsGetFriendInvitationNotificationEvent/friendsTryPopFriendInvitationNotificationInfo. Added notif, for adding notifGetNotificationSystemEvent/notifTryPopNotifiedApplicationParameter. 2019-11-15 14:26:29 -05:00
fincs
83649c9768
Fix #346 - sessionmgrClose did not actually close the extra sessions 2019-11-14 17:35:35 +01:00
yellows8
dda6194d0b
Added appletIsForceTerminateApplicationDisabledForDebug. Updated docs. 2019-11-14 11:34:41 -05:00
yellows8
c0115edca1
Added appletSetHealthWarningShowingState and appletGetHealthWarningDisappearedSystemEvent. 2019-11-13 23:41:43 -05:00
yellows8
d24f1ca611
Added appletSetInputDetectionPolicy and AppletInputDetectionPolicy. 2019-11-13 20:53:40 -05:00
yellows8
297e9d97a0
Added appletGetSettingsPlatformRegion/appletSetHdcpAuthenticationActivated and improved docs. 2019-11-13 20:07:26 -05:00