yellows8
74c102ed3f
Added hiddbgReadSerialFlash.
2019-06-25 22:40:49 -04:00
yellows8
a9c35dceb8
Updated comments for HiddbgHdlsDeviceInfo.
2019-06-25 18:41:11 -04:00
yellows8
cebc1bed33
Updated HiddbgHdlsDeviceInfo struct.
2019-06-25 11:33:35 -04:00
Michael Scire
18f977aa76
pm: add getters for pminfo, pmshell
2019-06-25 16:13:52 +02:00
yellows8
65e2e791a3
Updated Hdls structs.
2019-06-24 21:50:17 -04:00
Michael Scire
6978003c42
sm/smm: Add GetServiceSession
2019-06-24 21:43:45 +02:00
SciresM
e1a6a463c2
Add enums for GetInfo/GetSystemInfo ( #292 )
2019-06-22 00:05:56 +02:00
yellows8
0d17c53d00
Updated HiddbgHdlsState struct.
2019-06-12 15:43:33 -04: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
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
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
4d049ee7c4
enum alignment fixes
2019-06-03 14:48:45 -04:00
Michael Scire
b68441e36f
style fixes, note 4.0.0+
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
yellows8
d2bfc032f8
Added support for the additional web [8.0.0+] functionality: webConfigSetMediaPlayerUi and webReplyGetMediaPlayerAutoClosedByCompletion. Various other changes.
2019-05-19 15:15:00 -04:00
Thomas Guillemard
977bb9d7e8
i2c: add ReceiveAudo and ExecuteCommandList
...
Also make buf const in SendAuto.
2019-05-17 19:38:47 -04:00
fincs
d966bee9fa
Const correctness in nvGpuZbcAddColor (and fix comment typo)
2019-05-17 21:20:11 +02:00
fincs
320b054f6e
Added nvGpu* wrapper functions for zcull/zbc/tpc ioctls
2019-05-17 21:15:57 +02:00
fincs
f13c3cface
Add/correct /dev/nvhost-ctrl-gpu ioctls
2019-05-17 20:03:05 +02:00
yellows8
90620daf05
Added romfsMountFromCurrentProcess().
2019-05-17 11:15:43 -04:00
yellows8
f6f6adf1cb
Use the proper IPC buffer type for _usbHsEpGetXferReport with [3.0.0+].
2019-05-16 18:48:19 -04:00
yellows8
836bb367aa
Renamed ipc_buffer_size to pointer_buffer_size for ipcAddSendSmart/ipcAddRecvSmart.
2019-05-11 11:17:33 -04:00
Michael Scire
f92852fbe5
ncm: add NcmContentMetaType, NcmContentMetaAttribute enums
2019-05-09 12:42:50 +02:00
Michael Scire
a1861509f5
ncm: add ncmContentMetaDatabaseGetAttributes
2019-05-09 12:42:50 +02:00
SciresM
e114a361be
fsdev: add way of getting last returned result. ( #276 )
...
Adds fsdevGetLastResult, which returns a thread local Result updated by every call to fsdev_translate_error.
Also changes fsdev_translate_error to return EIO instead of raw results, when not translatable.
2019-05-08 16:44:17 +02:00
yellows8
e359010e75
Improved fs_dev docs.
2019-05-05 17:17:08 -04:00
Adubbz
1d3e208807
Added fsdevDeleteDirectoryRecursively
2019-05-05 18:26:08 +02:00
yellows8
afaa33df2e
Added partial support for SevenSixAxisSensor.
2019-05-03 18:38:37 -04:00
fincs
d911c47d2e
Miscellaneous documentation fixes
2019-05-03 14:32:02 +02:00
Michael Scire
4094c014ff
spl: fix BootReason command names
2019-05-03 03:33:56 +02:00
SciresM
c6e115fd1f
i2c: flesh out I2cDevice enum ( #273 )
...
* i2c: flesh out I2cDevice enum
2019-05-02 17:38:10 -04:00
CTCaer
67cd70c00c
[hid] Update NotificationLed structs ( #272 )
...
* [hid] Update NotificationLed structs
2019-04-27 18:11:01 -04:00
yellows8
aad6b55793
Filled in the HidsysNotificationLedPattern struct and added HidsysNotificationLedPatternCycle. Closes #240 .
2019-04-26 21:47:02 -04: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
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
Michael Scire
6b50fddd9b
Implement svcQueryProcessMemory
2019-04-21 13:48:59 +02:00
Michael Scire
4448b354dd
loader: fix LoaderModuleInfo definition
2019-04-21 12:15:03 +02: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
Lioncash
896c81246e
kernel/ipc: Resolve missing initializer warnings
...
In C++ projects with higher warning levels, this header can cause some
missing initializer warnings to leak over. This silences those from
occurring.
2019-04-16 00:54:20 +02:00
yellows8
3dde2148cc
Added appletSetCpuBoostMode, appletGetCurrentPerformanceConfiguration, and ApmCpuBoostMode enum. Updated comments / various minor changes.
2019-04-14 12:16:37 -04:00
yellows8
d4de738dfd
Added support for [6.0.0+] web functionality. Various minor changes.
2019-04-12 21:37:53 -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
31dee5072a
Sync FsSave/FsSaveDataInfo with wiki.
2019-04-04 22:31:02 -04:00
yellows8
8a3f105bab
Removed PACKED from FsSaveDataInfo/FsTimeStampRaw and fixed FsSave alignment.
2019-04-04 18:32:45 -04:00
Michael Scire
16f8255fd5
crypto: guard #defines with #ifndef
2019-04-04 20:13:36 +02:00
Michael Scire
c3a94f5bce
crc: fix -Wsign-compare warning
2019-04-04 20:13:36 +02:00
Michael Scire
408ae95120
cleanup headers, add crc32 acceleration
2019-04-04 20:13:36 +02:00
Michael Scire
e4481e12cb
Implement AES-(128, 192, 256)-CMAC
2019-04-04 20:13:36 +02:00
Michael Scire
13a690a5a8
hmac: expose HMAC_*_KEY_MAX defines
2019-04-04 20:13:36 +02:00
Michael Scire
21a704f0b6
Implement accelerated sha1 + hmac-sha1
2019-04-04 20:13:36 +02:00
Michael Scire
0dde100135
Implement accelerated SHA256, HMAC-SHA256
2019-04-04 20:13:36 +02:00
Michael Scire
e4dda8fa46
minor style fixes
2019-04-04 20:13:36 +02:00
Michael Scire
017b47151d
Implement accelerated AES-XTS
2019-04-04 20:13:36 +02:00
Michael Scire
82ae0f0c9e
cbc/ctr: expose iv/ctr reset
2019-04-04 20:13:36 +02:00
Michael Scire
3eb6dd45a6
Implement accelerated AES-CTR
2019-04-04 20:13:36 +02:00
Michael Scire
9c7adf0c44
crypto: add aes-cbc apis.
2019-04-04 20:13:36 +02:00
Michael Scire
f8375c46c0
crypto: add aes-ecb block enc/dec
2019-04-04 20:13:36 +02:00
yellows8
4f0aa0a589
Updated pctlauth docs.
2019-04-01 21:31:46 -04:00
yellows8
39f40b26ae
Added pctl.
2019-04-01 21:29:51 -04:00
yellows8
7b25d55342
Added pctlauth.
2019-03-31 22:01:48 -04:00
yellows8
9bbcee9bcf
Added libappletStart and libappletLaunch. Updated comments.
2019-03-31 21:59:04 -04:00
yellows8
fd9e02b271
Added romfsMountFromFsdev and fsdevTranslatePath. Internal romfs_dev improvements.
2019-03-29 19:49:08 -04:00
fincs
626b07fac8
Implement TLS slot support (with destructors)
2019-03-29 18:40:26 +01:00
yellows8
2729cafbe0
Updated ErrorContext struct.
2019-03-29 13:36:40 -04:00
yellows8
b463693094
Changed errorApplicationSetNumber to static inline.
2019-03-28 20:19:38 -04:00
yellows8
8b5a4d580d
Various minor changes + changed some error* funcs to static inline. Removed errorResultBacktraceClose, errorSystemClose, and errorApplicationClose.
2019-03-28 20:19:38 -04:00
yellows8
b91bc09c57
Added ErrorType enum. errorCode* funcs are now static inline + minor changes. Updated docs.
2019-03-28 20:19:38 -04:00
yellows8
505042bc73
Added ErrorCode and the funcs for it, funcs which use low/desc now use this instead. Updated docs.
2019-03-28 20:19:38 -04:00
yellows8
71a711e5d7
Updated ErrorContext.
2019-03-28 20:19:38 -04:00
yellows8
0ea16ae8c7
Added errorResultRecordShow/errorCodeRecordShow.
2019-03-28 20:19:38 -04:00
yellows8
f6287086d3
Added errorResultShow/errorCodeShow. Updated ErrorCommonHeader and added ErrorPctlArg.
2019-03-28 20:19:38 -04:00
yellows8
6be5ad949e
In errorSystemSetContext(), return immediately on pre-4.0.0.
2019-03-28 20:19:38 -04:00
yellows8
68e3204a88
Added support for errorResultBacktrace*. Updated/added error structs.
2019-03-28 20:19:38 -04:00
yellows8
018441a1f6
Added support for errorEulaShow/errorSystemUpdateEulaShow.
2019-03-28 20:19:38 -04:00
yellows8
1ec8e3b29e
Added support for error Application. Allow passing NULL to errorSystemCreate() for fullscreen_message, and minor other adjustments.
2019-03-28 20:19:38 -04:00
yellows8
3995447de7
Renamed error funcs and updated/added structs. Updated errorSystemCreate. Merged errorConfigSetShortDescription/errorConfigSetDetailedDescription into errorSystemCreate. Replaced errorConfigSetModule/errorConfigSetDescription with errorSystemSetCode, and added an errorSystemSetResult wrapper. Added errorSystemSetLanguageCode and errorSystemSetContext.
2019-03-28 20:19:38 -04:00
yellows8
9bf699f712
Improved error-applet launching handling. Updated ErrorConfig and added ErrorContext.
2019-03-28 20:19:38 -04:00
Liam Minopulos
ecfc8f8966
Added error LibraryApplet wrapper ( #243 )
...
* Implement error applet
2019-03-28 20:19:38 -04:00
plutoo
b7fe92f3a2
rwlock: Move over to condvar implementation. ( #255 )
...
This one is superior to the previous because it is write-preferring.
2019-03-28 23:53:04 +01:00
Michael Scire
1bea504732
Added fsOpenDataStorageByDataId and romfsMountFromDataArchive
2019-03-25 00:02:18 +01:00
Michael Scire
43128b613b
romfs: refactor to allow specifying mount name
2019-03-25 00:02:18 +01:00
yellows8
b897c3a650
Updated web docs.
2019-03-22 20:51:09 -04:00
yellows8
afdd8d07e8
Updated usbhs docs regarding 7.0.0+.
2019-03-21 11:19:20 -04: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
5d121a20b9
Changed types for fields in MousePosition to s32.
2019-03-12 16:21:22 -04:00
yellows8
c542d3ab8a
Added hidMouseMultiRead + mouse handling adjustments. Closes #235 .
2019-03-11 23:34:58 -04:00
Lioncash
03143cbadc
hwopus: Document second member of HwopusHeader
...
This second member indicates the Opus encoder's entropy coder's final
range. While nothing in the service actually does anything with the
final range as far as I can tell, this is specified within RFC 6716
(https://tools.ietf.org/html/rfc6716 , see section "6. Conformance") as a
means of ensuring decoder conformance. States as follows:
"In addition, a compliant decoder implementation MUST have
the same final range decoder state as that of the reference decoder."
So what is likely done when performing compliance testing is the data is
encoded, and then the final range of the encoder is sent via this
header, then during decoding, the final range would be checked against
to ensure that it's valid.
2019-03-10 21:34:54 -04:00
yellows8
ef370fd33a
Fixed WebWifi docs.
2019-03-09 21:51:32 -05:00
yellows8
275a61a2e2
Improved WebWifi, including handling for NULL conntest_url.
2019-03-09 16:18:10 -05:00
yellows8
bf3673c19f
Added WebFooterFixedKind enum. Actually check sysver in webConfigSetFooterFixedKind. Updated web docs.
2019-03-07 21:36:48 -05:00
yellows8
c193337d9b
Added WebExitReason_ErrorDialog.
2019-03-06 23:57:47 -05:00
yellows8
4160622165
Support passing NULL for webConfigShow out. Minor docs adjustment.
2019-03-06 23:46:46 -05:00
yellows8
9e52d7c4df
Check for sysver [3.0.0+] for viSetDisplayMagnification.
2019-03-06 13:56:36 -05:00
yellows8
9d0603845a
Updated WebBootDisplayKind and added WebBackgroundKind + WebLeftStickMode. Improved web docs.
2019-03-05 23:33:54 -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
18a4351330
Use the actual enum for webConfigSetBootDisplayKind instead of u32. Improved web docs.
2019-03-04 17:20:18 -05:00
yellows8
7479be4256
Added WebShimKind_Shop and removed a comment.
2019-03-04 12:26:54 -05:00
yellows8
a897b9a836
Moved web common AppletHolder into WebCommonConfig, _webShow now takes AppletHolder as a param. Added webConfigRequestExit. Renamed WebExitReason_Unknown2 to WebExitReason_Requested.
2019-03-04 10:46:19 -05:00
yellows8
d353213d72
Added appletHolderRequestExit.
2019-03-04 10:42:07 -05:00
yellows8
c10508d95e
Added WebExitReason enum and improved LastUrl/CallbackUrl docs.
2019-03-03 23:30:06 -05:00
yellows8
142811f943
Improved web docs.
2019-03-03 21:50:26 -05:00
yellows8
ded540e5f1
Implemented full support for web Offline-applet + minor other changes. Improved web docs.
2019-03-03 20:37:14 -05:00
yellows8
b19c35fe2c
Added webReplyGet* funcs. Added WebReplyType enum and _webTLVReadVarSize.
2019-03-02 20:44:22 -05:00
yellows8
2ed160624a
webConfigShow now uses new struct WebCommonReply as the output, for supporting WebCommonTLVStorage reply data.
2019-03-02 11:11:39 -05:00
yellows8
e55dfd69c7
Mention capssu.h in the webConfigSetApplicationAlbumEntry docs.
2019-03-01 23:04:28 -05:00
yellows8
bc7b178036
Added webConfigSetAdditionalCommentText, webConfigSetAdditionalMediaData, and webConfigSetMediaCreatorApplicationRatingAge. Improved web docs.
2019-03-01 22:49:01 -05:00
yellows8
166652a0eb
Removed version check from webShareCreate.
2019-03-01 22:25:23 -05:00
yellows8
dc3cf7084e
Added webConfigSetAlbumEntry and webConfigSetApplicationAlbumEntry.
2019-03-01 22:17:11 -05:00
yellows8
bbd0dcbd2b
Added CapsAlbumEntry + comments.
2019-03-01 22:16:05 -05:00
yellows8
fbf1aab792
Initial support for web ShareApplet. Check shim-kind in webConfigSetDisplayUrlKind.
2019-03-01 21:54:45 -05:00
yellows8
6211510b21
In webConfigSetBootAsMediaPlayer with News on 3.0.0+, set WebArgType_BootAsMediaPlayerInverted. Added _webTLVRead/_webConfigGet*. Improved web docs.
2019-03-01 16:33:13 -05:00
yellows8
ff3a4f9844
Renamed usbDsEndpoint_StallCtrl to *Stall.
2019-03-01 12:40:23 -05:00
yellows8
121f2cf868
Added webConfigSetScreenShot, and minor other web changes.
2019-02-28 22:15:18 -05:00
yellows8
4ef0dd09f0
Added webConfigSetMediaPlayerUserGestureRestriction, webConfigSetJsExtension, webConfigSetTouchEnabledOnContents, webConfigSetPageCache, webConfigSetWebAudio, webConfigSetFooterFixedKind, webConfigSetPageFade, webConfigSetBootLoadingIcon, and webConfigSetPageScrollIndicator. Minor other changes.
2019-02-28 21:54:08 -05:00
yellows8
5f9264df16
Added webConfigSetFooter and webConfigSetKeyRepeatFrame.
2019-02-28 17:54:57 -05:00
yellows8
b58bc0a5dc
Document what webConfigSetUserAgentAdditionalString is used for.
2019-02-28 16:50:45 -05:00
yellows8
344d87a3e4
Added support for web Lobby applet. Added webConfigSetBackgroundKind, webConfigSetPointer, and webConfigSetLeftStickMode. Fixed order of web funcs. Minor other web adjustments.
2019-02-28 13:07:56 -05:00
yellows8
6736053ae1
Added webConfigSetUserID, and internal web adjustments.
2019-02-27 22:48:48 -05:00
yellows8
526441a547
Added webYouTubeVideoCreate and improved web docs.
2019-02-27 20:44:11 -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
yellows8
eb750b641b
Added webNewsCreate, webConfigSetEcClientCert, and webConfigSetShopJump. Improved web docs.
2019-02-27 17:52:00 -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
ef71282f31
Added webConfigSetBootAsMediaPlayer and webConfigSetMediaPlayerAutoClose. Updated WebBootDisplayKind. Removed 'Enabled' from WebArgType enums.
2019-02-26 21:54:47 -05:00
yellows8
a48f7c3502
Added webConfigSetBootDisplayKind and enum WebBootDisplayKind. Added enum WebShimKind_Offline. Minor other web adjustments.
2019-02-26 19:40:20 -05:00
yellows8
9e11dd1bd7
Added error handling for web TLVs. webPageCreate and webConfigSet* now return Result. Moved webWifiCreate/webWifiShow immediately after _webShow in web.c.
2019-02-26 17:55:16 -05:00
yellows8
904deeec10
Updated @brief in the web.h docs-header.
2019-02-26 15:23:01 -05:00
yellows8
2cd9825074
Added webConfigSetCallbackUrl, webConfigSetCallbackableUrl, and webConfigSetUserAgentAdditionalString. Improved web docs.
2019-02-26 15:16:26 -05:00
yellows8
6aa2640e4a
Fixed comment alignment for WebArgType.
2019-02-25 23:24:29 -05:00
yellows8
50e2d43b70
Added WebArgType enum.
2019-02-25 23:22:49 -05:00
yellows8
91bf06653e
Added webConfigSetDisplayUrlKind. Added more _webConfigSet* funcs.
2019-02-25 21:23:53 -05:00
yellows8
708ad83ead
Renamed webShow to webConfigShow. Added webConfigSetWhitelist.
2019-02-25 20:12:36 -05:00
yellows8
ec5f1dc17f
Renamed WebPageConfig to WebCommonConfig with more fields. Renamed webPageShow to webShow. Various web improvements including version handling.
2019-02-25 19:08:49 -05:00
yellows8
4b8e501fdb
Various web improvements, changed/added some structs.
2019-02-23 17:00:10 -05:00
plutooo
e8f3964475
barrier: More efficient impl, maybe
2019-02-23 21:05:39 +01:00
yellows8
0a230bae65
Fixed issue in _webTLVWrite. Updated web docs. The url param for webPageCreate is no longer optional.
2019-02-21 00:15:09 -05:00
yellows8
601c76b508
Initial support for WebApplet/non-webWifi.
2019-02-20 23:42:17 -05:00
yellows8
d61c2d07b6
Added appletRequestLaunchApplication and appletRequestLaunchApplicationForQuest.
2019-02-19 23:12:29 -05:00
yellows8
d90893c566
Expose libappletCreateWriteStorage.
2019-02-19 21:46:53 -05:00
Luke Street
1415df75e4
Update svcSleepThread definition
2019-02-19 18:18:50 -05:00
yellows8
567828f44e
Fixed doxygen issues / improved docs. Closes #230 .
2019-02-19 16:56:33 -05:00
yellows8
e2f05654dd
Moved web applet-exit handling into a dedicated func, which can optionally handle reading the applet reply storage. Added out param to webWifiShow for the applet reply data.
2019-02-18 22:32:18 -05:00
yellows8
f392dc0ce2
Added libappletReadStorage and libappletPopOutData.
2019-02-18 22:29:53 -05: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
fincs
61cc738730
Introduce hosversion.h - HOS version detection utilities
...
- Simplify kernel/detect.h logic; introduce detectKernelVersion()
- Use set:sys (if available) during __appInit in order to initialize
the current HOS version
2019-02-18 21:48:41 +01:00
yellows8
6c3f72929d
Fixed WebWifiPageArg struct, improved web-wifi handling and added docs.
2019-02-18 12:29:40 -05:00
fincs
ee2e19ce38
Improve names/documentation for jit kernel patch functions in detect.h/c + codestylefixes
2019-02-16 16:42:08 +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
plutooo
17731d750e
Add function to test OFW behavior under CFW
2019-02-14 22:03:47 +01:00
plutooo
fc557cbf2a
Detect and use the CFW jit patch.
2019-02-13 22:40:00 +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
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
shibbs
131b92a8c8
Add in more NIFM functionality ( #236 )
2019-01-27 00:12:15 +01: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
Samuel P
8360e561c5
Added WifiWebAuthApplet launching ( #233 )
...
* Added WifiWebAuthApplet launching
2019-01-18 20:00:34 -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
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
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
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
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
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
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
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
fincs
ccf85a134b
Added more RGB*() helper macros & fixed a few typos
2018-12-19 19:33:31 +01:00
fincs
e7c58fe59e
Deprecate old gfx API; scheduled for removal at a later date.
2018-12-19 19:33:31 +01:00
fincs
1b18a3b056
console_sw: Use Framebuffer object instead of old gfx api. Moved RGBA8/_MAXALPHA to framebuffer.h.
2018-12-19 19:33:31 +01:00
fincs
f37518d848
Add framebufferMakeLinear - linear shadow buffer support
2018-12-19 19:33:31 +01:00
fincs
dbc960a24f
NWindow: Internal rework to fix resource leak in nwindowReleaseBuffers
2018-12-19 19:33:31 +01:00
fincs
3a77a7ace8
Introduce nwindowGetDefault
2018-12-19 19:33:31 +01:00
fincs
12af73e9d2
Document NWindow and Framebuffer objects
2018-12-19 19:33:31 +01:00
fincs
f381066a43
Add NvColorFormat enum
2018-12-19 19:33:31 +01:00
fincs
d87f9541d1
NvMap: added support for loading remote NvMap objects (from id)
2018-12-19 19:33:31 +01:00
fincs
72a48f6598
Add nvioctlMap_Param and NvMapParam enum
2018-12-19 19:33:31 +01:00
fincs
260f34fa4e
NWindow: add several new functions:
...
- nwindowIsValid
- nwindowGetDimensions
- nwindowSetDimensions
- nwindowSetCrop
- nwindowSetTransform
- nwindowIsConsumerRunningBehind
2018-12-19 19:33:31 +01:00
fincs
bf43284c9f
Misc code style fixes, rename NvGraphicBuffer::layers to planes
2018-12-19 19:33:31 +01:00
Michael Scire
7c01659953
vi: Improve ViScalingMode enum
2018-12-19 19:33:31 +01:00
Michael Scire
798d8ff50c
Add vi wrappers for system StrayLayer usage.
2018-12-19 19:33:31 +01:00
fincs
4879937946
Introduce Framebuffer, experimental wrapper object around a framebuffer queue for use by software rendering clients
2018-12-19 19:33:31 +01:00
fincs
62aa8e8b23
NWindow: add nwindowReleaseBuffers, which is also done automatically on Close
2018-12-19 19:33:31 +01:00
fincs
412c84d5f9
Rename NvInfo to NvGpu
2018-12-19 19:33:31 +01:00
fincs
c5f8275978
Rename nvMapFree to nvMapClose for consistency reasons
2018-12-19 19:33:31 +01:00
fincs
a9cbd9116a
Introduce NWindow, an experimental replacement for the GFX API
2018-12-19 19:33:31 +01:00
fincs
2af9531f5b
Const correctness in bqCancelBuffer
2018-12-19 19:33:31 +01:00
fincs
ec6d878d12
Major buffer producer refactor, see details:
...
- Introduced NativeHandle (display/types.h)
- Introduced NvGraphicBuffer (nvidia/graphic_buffer.h)
- Renamed BqQueueBufferInput to BqBufferInput
- Renamed BqQueueBufferOutput to BqBufferOutput
- BqGraphicBuffer is now defined and marshalled in a way that matches
official sw more closely, with a pointer to a NativeHandle instead of
inline flattened data and other miscellaneous junk
- Const correctness fixes
- bqSetPreallocatedBuffer now has flattening logic for BqGraphicBuffer
- bqRequestBuffer doesn't have this logic for now, passing anything other
than NULL will fail
- gfx.c updated to use the refactored buffer producer
2018-12-19 19:33:31 +01:00
fincs
d717507541
display/parcel.h: Const correctness fixes
2018-12-19 19:33:31 +01:00
fincs
3a31df429e
gfx: finally get rid of nvgfx, replaced with an NvMap object
2018-12-19 19:33:31 +01:00
fincs
5fe01c065a
Major refactor and redesign of nvidia wrapper objects, see details:
...
- NvBuffer replaced with NvMap, which only manages the creation of
raw nvmap objects. Users must map these objects manually to
address spaces.
- nvAddressSpaceBindToChannel removed.
- nvChannelSetNvmapFd is now automatic and has been removed.
- Nv3DContext, NvCmdList, NvErrorNotifier, NvGpfifo, NvGpu and
NvZcullContext have all been removed.
- Introduced NvGpuChannel, which provides all functionality that was
part of said removed objects.
- Other miscellaneous changes and fixes.
2018-12-19 19:33:31 +01:00
fincs
85a20f43dc
NvAddressSpace: major overhaul, see details:
...
- Now contains a 'page_size' field, used throughout the functions
- Removed NvPageSize
- Removed nvAddressSpaceReserveAlign/AtFixedAddr/Full
- Added nvAddressSpaceAlloc/AllocFixed/Free (replacing above functions)
- Removed nvAddressSpaceMapBuffer/UnmapBuffer
- Added nvAddressSpaceMap/MapFixed/Modify/Unmap (replacing above functions)
- Adapted NvBuffer/NvGpu to use the new functions
2018-12-19 19:33:31 +01:00
fincs
22499d8ddf
nvhost-as-gpu.c: fix some mistakes, add nvioctlNvhostAsGpu_FreeSpace, add NvAllocSpaceFlags, add NvMapBufferFlags_Modify
2018-12-19 19:33:31 +01:00
fincs
f0de0c869d
Added nvInfoGetGpuCharacteristics
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
63e0e3502c
Added eventActive().
2018-12-19 12:56:01 -05:00
yellows8
ced4f16ee1
Fixed+enabled appletSetTerminateResult and added it to applet.h.
2018-12-18 21:45:13 -05:00