yellows8
d4542ec9b0
hiddbg: Added support for SleepButton AutoPilot.
2021-02-13 14:20:44 -05:00
Michael Scire
ae3271ba4c
fs: add fsOpenHostFileSystem(WithOption)
2021-02-13 16:46:49 +01:00
yellows8
0f4f0ed039
btdrv: Updated BtdrvFatalReason.
2021-02-12 13:11:57 -05:00
Michael Scire
c71cd80bcf
psc: fix dependency argument on init
2021-02-10 17:31:51 +01:00
yellows8
15a5d1c44f
btdrv: Updated params/docs for btdrvSetBleVisibility.
2021-02-04 11:47:50 -05:00
yellows8
531f9d7921
Updated/added bluetooth structs/enums. Updated docs.
...
Moved btm types into a dedicated .h.
2021-02-03 14:02:38 -05:00
yellows8
7751df9356
btdrv: Updated param names + docs.
2021-02-02 15:51:31 -05:00
SciresM
e48f1c339f
add hosversionIsAtmosphere ( #525 )
2021-01-27 23:20:41 +01:00
yellows8
d813bef54b
btdrv: Added/updated structs/enums for events, etc.
2021-01-19 20:02:01 -05:00
fincs
109bd683df
hid: Add HidKeyboardKey & hidKeyboardStateGetKey
2021-01-17 17:45:48 +01:00
fincs
649f308d4b
Delete old virtmem API 🦀 🦀
2021-01-17 17:05:29 +01:00
fincs
637dd12b2d
Delete old HID API 🦀 🦀
2021-01-17 17:05:21 +01:00
yellows8
c8fdae9189
btdrv: Updated/added structs/enums for events, etc.
2021-01-16 13:34:12 -05:00
HookedBehemoth
43202cc829
add application version manager service wrapper ( #519 )
2021-01-06 17:25:29 +01:00
yellows8
110c2f0622
btdrv: Updated docs.
2021-01-05 01:36:29 -05:00
yellows8
348b21def2
btdrv: Updated names for BtdrvHidReportEvent*.
2021-01-03 02:07:17 -05:00
yellows8
2f6fcf7fb2
btdrv: Updated param names/docs.
2020-12-29 20:31:06 -05:00
yellows8
e9ee0b2421
btm/btdrv: Updated param names.
2020-12-29 14:46:10 -05:00
yellows8
a35321b360
hid: Minor Palma improvements.
2020-12-27 00:58:15 -05:00
Tim Gates
8cbd1cf03c
docs: fix simple typo, recieve -> receive
...
There is a small typo in nx/include/switch/runtime/devices/socket.h, nx/include/switch/services/bsd.h.
Should read `receive` rather than `recieve`.
2020-12-19 13:35:29 +01:00
yellows8
d4014bde62
miiLa: Added for support for 10.2.0 functionality + various fixes.
2020-12-17 00:21:47 -05:00
yellows8
0d5dcde5b9
swkbd: Added swkbdInlineGetMiniaturizedHeight.
2020-12-16 20:32:42 -05:00
yellows8
c51918a605
hidLa: 11.0 support and fixed the arg_size value.
2020-12-16 13:24:48 -05:00
yellows8
06d38571b4
libapplet: Added the new 11.0 funcs.
2020-12-15 22:10:58 -05:00
yellows8
55179074cc
web: Added 11.0 webConfigSetTransferMemory().
2020-12-15 19:22:24 -05:00
Pablo Curiel
41fc8bb17c
fs: Added fsCreateSaveDataFileSystem(), fsDeleteSaveDataFileSystem() and fsDeleteSaveDataFileSystemBySaveDataAttribute(). #518
2020-12-15 17:48:00 +01:00
yellows8
ccec5bd36c
apm/applet: Updated names/docs.
...
Added AppletWindowOriginMode.
2020-12-15 11:14:35 -05:00
yellows8
d406db725d
applet: Added 11.0 cmds.
2020-12-14 15:32:54 -05:00
yellows8
13716b5e7b
hidsys: Updated ButtonConfig cmds for 11.0.
...
Removed an extra param from hidsysIsAnyCustomButtonConfigEnabled.
2020-12-12 12:38:13 -05:00
yellows8
3d003aef39
lp2p: Updated docs.
2020-12-10 23:37:56 -05:00
yellows8
9ede39d15d
lp2p: Updated docs.
2020-12-10 19:44:47 -05:00
yellows8
af837185d0
hiddbg: Added HiddbgNpadButton.
2020-12-08 15:24:57 -05:00
masagrator
c3aeb885e7
Fix svcSetHeapSize error in comment section
2020-12-08 12:25:47 +01:00
yellows8
d91a2e22e7
hid: Updated docs.
2020-12-05 01:09:13 -05:00
yellows8
de5e158545
hid: Updated Palma docs.
2020-12-05 00:46:49 -05:00
SciresM
c3b63e8723
svc: add new InfoType_FreeThreadCount ( #514 )
2020-12-05 03:11:49 +01:00
HookedBehemoth
f82d97f88a
Add capmtp service wrapper [11.0.0+] ( #510 )
2020-12-04 21:53:44 +01:00
SciresM
21b0613fa4
usb: add UsbState enum ( #512 )
2020-12-04 21:13:30 +01:00
yellows8
e8a4f22063
ssl: Updated for 11.0.0.
2020-12-04 13:42:42 -05:00
SciresM
1291966976
ectx: add ectxrPullContext ( #511 )
2020-12-03 22:09:06 +01:00
yellows8
0fbbea2c77
lp2p: Updated for [11.0.0+].
2020-12-03 14:39:55 -05:00
SciresM
2d470ee2af
sm: add smDetachClient ( #509 )
2020-12-02 17:42:09 +01:00
fincs
e904bb05d4
hid: Deprecate old input interface
2020-12-01 13:50:00 +01:00
fincs
d290697bfd
Add pad.h - new wrapper API for reading controller input
2020-12-01 13:50:00 +01:00
yellows8
5551d42b29
hid: Added/updated Palma structs/enums.
2020-12-01 13:50:00 +01:00
yellows8
09bcd32fbc
hid: Updated structs/enums.
2020-12-01 13:50:00 +01:00
yellows8
a45b951db2
hiddbg/hidsys: Updated structs.
2020-12-01 13:50:00 +01:00
yellows8
3a11e1d309
hidbus: Updated structs/enums.
2020-12-01 13:50:00 +01:00
yellows8
5aa8986505
hid: Added support for the Palma cmds.
2020-12-01 13:49:59 +01:00
yellows8
49183c9953
hidsys: Updated the {Home/Sleep/Capture}Button cmds.
2020-12-01 13:49:59 +01:00
yellows8
4010c70b1e
hiddbg: Added support for AutoPilot with the following:
...
DebugPad, TouchScreen, Mouse, Keyboard.
2020-12-01 13:49:59 +01:00
yellows8
b7e1ec852c
hid: Added DebugPad structs/enums.
2020-12-01 13:49:59 +01:00
yellows8
527b813bcf
notif: Use hidLaShowControllerFirmwareUpdate if needed.
2020-12-01 13:49:59 +01:00
yellows8
baa9dab747
hidsys: Added the following cmds:
...
hidsysSendKeyboardLockKeyEvent, hidsysGetNpadInterfaceType, hidsysGetNpadLeftRightInterfaceType, hidsysHasBattery, hidsysHasLeftRightBattery, hidsysIsUsbFullKeyControllerEnabled, hidsysEnableUsbFullKeyController, hidsysIsUsbConnected, hidsysIsFirmwareUpdateNeededForNotification.
2020-12-01 13:49:59 +01:00
yellows8
9bc156a42e
hid: Adjusted param for hidSetNpadCaptureButtonAssignment.
2020-12-01 13:49:58 +01:00
yellows8
27b43dc53b
hid: Updated docs.
2020-12-01 13:49:58 +01:00
yellows8
089f9f18ac
hid: Added the following cmds:
...
hidSendKeyboardLockKeyEvent, hidDisconnectNpad, hidGetPlayerLedPattern, hidSetNpadJoyAssignmentModeSingle, hidStartLrAssignmentMode, hidStopLrAssignmentMode, hidSwapNpadAssignment, hidEnableUnintendedHomeButtonInputProtection, hidSetNpadJoyAssignmentModeSingleWithDestination, hidSetNpadAnalogStickUseCenterClamp, hidSetNpadCaptureButtonAssignment, hidClearNpadCaptureButtonAssignment, hidIsUsbFullKeyControllerEnabled, hidEnableUsbFullKeyController, hidIsUsbFullKeyControllerConnected, hidGetNpadOfHighestBatteryLevel, hidSetNpadCommunicationMode, hidGetNpadCommunicationMode, hidSetTouchScreenConfiguration, hidIsFirmwareUpdateNeededForNotification.
2020-12-01 13:49:58 +01:00
yellows8
004d2f4f63
hid: Moved funcs to match cmd order.
2020-12-01 13:49:58 +01:00
yellows8
d4ccf6ab03
hid: Added the following cmds:
...
hidIsSixAxisSensorFusionEnabled, hidEnableSixAxisSensorFusion, hidIsSixAxisSensorAtRest, hidIsFirmwareUpdateAvailableForSixAxisSensor.
Minor adjustments.
2020-12-01 13:49:58 +01:00
fincs
eaeabad315
hid: Add hid{Set,Get}NpadHandheldActivationMode
2020-12-01 13:49:58 +01:00
yellows8
639ba8ef78
hidsys: Updated Hidcfg.
2020-12-01 13:49:57 +01:00
yellows8
73768fffa7
hid: Updated docs.
2020-12-01 13:49:57 +01:00
yellows8
d4b3b1e90f
hidbus: Updated HidbusJoyPollingMode.
2020-12-01 13:49:57 +01:00
yellows8
141f1b6e5d
hid: Updated enums.
2020-12-01 13:49:57 +01:00
yellows8
01457fb3b1
hid: Added hidBeginPermitVibrationSession/hidEndPermitVibrationSession.
2020-12-01 13:49:57 +01:00
yellows8
5c7118a003
hid: Added support for GcErm vibration. Minor adjustments.
2020-12-01 13:49:56 +01:00
yellows8
88cae40620
hid: Added/updated enums and updated HidVibrationDeviceInfo.
2020-12-01 13:49:56 +01:00
fincs
8e0c514044
hid: Added pre-made HidNpadStyleSet values for common style sets
2020-12-01 13:49:56 +01:00
yellows8
1aa4ec82fb
hid: Updated docs.
2020-12-01 13:49:56 +01:00
yellows8
a5799c87ed
hid(dbg): Updated docs + minor adjustments.
2020-12-01 13:49:56 +01:00
yellows8
7a8d397d81
hid: Added HidAnalogStickState and updated structs.
2020-12-01 13:49:56 +01:00
yellows8
f784c9a3f3
hid: Updated structs.
2020-12-01 13:49:55 +01:00
yellows8
ff2846e481
hid: Updated docs + minor struct adjustment.
2020-12-01 13:49:55 +01:00
yellows8
9b808793fb
hid: Updated docs + various adjustments.
2020-12-01 13:49:55 +01:00
yellows8
2b7c3fee90
hiddbg: Use structs for handles and various adjustments.
2020-12-01 13:49:55 +01:00
yellows8
215d62966e
hidsys: Added HidsysUniquePadId/HidsysUniquePadSerialNumber.
...
These are now used where needed. Various adjustments.
2020-12-01 13:49:55 +01:00
yellows8
012e84d7bd
hid: Updated docs.
2020-12-01 13:49:55 +01:00
yellows8
f9f23bef8f
hid: Replaced the lifo layouts/sixaxis arrays with individual fields.
...
Use the Lark/Lucia enum in the GetNpadStates funcs.
2020-12-01 13:49:54 +01:00
fincs
aa77de9f71
hid: Added HidNpadButton enum
2020-12-01 13:49:54 +01:00
yellows8
9a2fab817d
hid: Fixed docs.
2020-12-01 13:49:54 +01:00
yellows8
7c64b5b70b
hid: Updated HidNpadSystemProperties.
2020-12-01 13:49:54 +01:00
yellows8
912713bda0
hid: Added XcdDeviceHandle.
2020-12-01 13:49:54 +01:00
yellows8
5e03104d1d
hid: Updated structs.
2020-12-01 13:49:53 +01:00
yellows8
dab3750c50
hid: Updated HidMouseButton/HidKeyboardModifier.
2020-12-01 13:49:53 +01:00
yellows8
d3838b8e08
hid: Gesture support. Updated HidNpadSystemProperties.
2020-12-01 13:49:53 +01:00
yellows8
324a835b0c
hid: Various fixes.
2020-12-01 13:49:53 +01:00
yellows8
d28776e4d9
hid: Updated/added structs/enums.
2020-12-01 13:49:52 +01:00
yellows8
902af6cce0
hid: Updated structs.
2020-12-01 13:49:52 +01:00
fincs
967a5054a3
hid: Expose InitializeNpad/TouchScreen/Keyboard/Mouse
...
- Moved hidScanInput-specific initialization code to hidScanInput
- TouchScreen/Keyboard/Mouse are now activated during hidScanInput
initialization (previously this was not done, which is technically UB)
- Removed hidDeactivateNpad (not called by retail software)
- Tweaks and adjustments to reduce code size when features are not used
2020-12-01 13:49:52 +01:00
yellows8
e4c701dc19
hid: Use _hidGetStates in hidGetSevenSixAxisSensorStates.
2020-12-01 13:49:52 +01:00
yellows8
d4c1d069f1
hid: Added hidGetKeyboardStates, which hidScanInput now uses.
...
Struct adjustments.
2020-12-01 13:49:52 +01:00
yellows8
52bf73e047
hid: Added hidGetMouseStates, which hidScanInput/etc now uses.
...
Struct adjustments.
2020-12-01 13:49:52 +01:00
yellows8
1c82758c03
hid: Added hidGetTouchScreenStates, which hidScanInput now uses.
...
Struct adjustments.
2020-12-01 13:49:51 +01:00
yellows8
e32acbeb9f
hid: Added hidGetSixAxisSensorStates.
...
Internal improvements, etc.
2020-12-01 13:49:51 +01:00
yellows8
16ff35faea
hid: Use structs for vibration/SixAxis handles.
...
Various internal improvements, andpass vibration handles by value where needed.
2020-12-01 13:49:51 +01:00
fincs
c0ef14fcaa
hid: Changed hidGetNpadStates* to return total_out directly instead of using an output var
2020-12-01 13:49:51 +01:00
fincs
0640c9da76
hid: Introduce HidNpadIdType, see details:
...
- Replaced most usages of HidControllerID with HidNpadIdType
- HidControllerID still exists for now, and the following functions
keep accepting it for compatibility with most homebrew:
- hidIsControllerConnected
- hidKeysHeld/Down/Up
- hidJoystickRead
- hidSixAxisSensorValuesRead
- hidControllerIDTo/FromOfficial renamed to ToNpadIdType/FromNpadIdType
- Updated some comments that were left untouched during previous hid refactoring
- Partial internal refactor of hidGetNpadStates*
2020-12-01 13:49:50 +01:00
fincs
40e5b08f70
Split hidGetNpadControllerColor/PowerInfo into Single/Split variants
2020-12-01 13:49:50 +01:00
yellows8
3f4f6dba44
hid: Handle NULL with hidGetNpadStates*() total_out.
...
Use const for hidSetSupportedNpadIdType().
2020-12-01 13:49:50 +01:00
yellows8
82bc8bf648
hid: Updated docs.
2020-12-01 13:49:50 +01:00
yellows8
a924fac0ab
hid: Filled in the Gc trigger fields.
2020-12-01 13:49:50 +01:00
yellows8
5aaf6905dd
hid: Docs updated.
2020-12-01 13:49:50 +01:00
yellows8
9f13045546
hid: Added support for NpadGc.
...
Struct adjustments.
2020-12-01 13:49:49 +01:00
yellows8
7340772267
hid: Internal state reading improvements.
...
Struct adjustments.
2020-12-01 13:49:49 +01:00
yellows8
21647a76c8
hid: Added support for *Lark/Lucia.
...
Struct adjustments.
2020-12-01 13:49:49 +01:00
yellows8
ce20e14034
hid: Added hidGetNpadStatesPalma.
2020-12-01 13:49:49 +01:00
yellows8
46377bc180
hid: Added handling for NpadSystem(Ext).
...
Added hidGetNpadStatesSystemExt/hidGetNpadStatesSystem, and functionality for using these in hidScanInput().
Updated a struct.
2020-12-01 13:49:49 +01:00
yellows8
db39de34c5
hid: Replaced various funcs with versions which read from sharedmem.
...
* Various struct adjustments.
* Removed HidControllerLayoutType/hidSetControllerLayout/hidGetControllerLayout, since these are no longer used.
* Added HidNpadJoyAssignmentMode and hidGetNpadJoyAssignment.
* Replaced hidGetControllerFlags with hidGetNpadSystemProperties/hidGetNpadSystemButtonProperties.
* Added hidGetAppletFooterUiAttributesSet/hidGetAppletFooterUiTypes.
* hidScanInput() now uses hidGetNpadStates*() as determined by the output from hidGetNpadStyleSet().
2020-12-01 13:49:48 +01:00
yellows8
1e3145f81d
hid: Struct adjustments.
2020-12-01 13:49:48 +01:00
yellows8
54a296bc69
hid: Updated HidSharedMemory.
2020-12-01 13:49:48 +01:00
yellows8
c3a6d29cf4
hid: Added KEY_NES_HANDHELD_LEFT_B.
2020-12-01 13:49:48 +01:00
yellows8
991a262e19
hid: Replaced HidControllerType with HidNpadStyleTag.
...
HidNpadStyleTag now includes more controllers.
Replaced hidGetControllerType with hidGetNpadStyleSet().
Improved _hidGetDeviceHandles(), more controllers are now supported.
2020-12-01 13:49:48 +01:00
yellows8
e74c605a91
hid: Fixed HidNpadInterfaceType.
2020-12-01 13:49:48 +01:00
yellows8
ddc9538b69
hid: Updated/added structs and added hidGetNpadStates*().
2020-12-01 13:49:47 +01:00
fincs
74b295827f
Add svcGetResourceLimitPeakValue [11.0.0+]
2020-12-01 13:49:15 +01:00
Luis Scheurenbrand
c95b46c053
news: fix structs
2020-11-18 19:16:32 +01:00
averne
2fdae0db52
Add service wrappers for ins:r and ins:s ( #502 )
2020-11-08 00:28:20 +01:00
fincs
091f88915d
virtmemRemoveReservation: add forgotten mutex note to docs
2020-10-31 14:06:48 +01:00
fincs
22a3efcbe1
virtmem: Deprecate virtmemReserve/virtmemFree
2020-10-30 16:10:52 +01:00
fincs
8310f438ca
virtmem: Add memory reservation system
...
jit: Use virtmemFindCodeMemory on both codepaths; use virtmem reservations
in order to support the JitType_SetProcessMemoryPermission codepath
2020-10-30 16:07:38 +01:00
fincs
490d96e6eb
virtmem: Add virtmemFindCodeMemory to work around a quirk in 1.x kernel
2020-10-30 00:16:03 +01:00
fincs
eecf2a9d32
Add detectMesosphere()
2020-10-29 16:52:16 +01:00
fincs
970d982e57
Add diagAbortWithResult, see details:
...
- This is a (weak/overridable) function meant to be called when the
program encounters an unrecoverable error, but it's not fatal enough
to bring down the entire system with it.
- The default implementation uses svcBreak, passing the result code
in the user buffer.
- Replaced all usages of fatalThrow with diagAbortWithResult throughout
the entire library.
2020-10-29 13:40:35 +01:00
fincs
a05a44fca8
virtmem: Major rewrite to support ASLR, see details:
...
- Added virtmemLock/Unlock, needed for atomic find-and-map operations
- Added virtmemFindAslr, which looks for a random free area in AslrRegion
- virtmemReserve still exists for legacy callers who rely on sequential
allocation in order to avoid race conditions from concurrent uses
- Added virtmemFindStack, which searches within StackRegion instead
- Removed virtmemReserveStack/FreeStack
- Changed shmem/thread/tmem/codememory-jit to use the new virtmem API
- Legacy jit still uses virtmemReserve
2020-10-27 12:27:32 +01:00
fincs
7c6d7849f5
Remove obsolete kernel detection code
2020-10-27 12:27:32 +01:00
fincs
4c6abe1e41
svcBreak: fix prototype, add and use BreakReason enum
2020-10-27 12:27:31 +01:00
fincs
e0c1dfe2ce
Add light event synchronization primitive [4.0.0+]
2020-10-27 12:27:20 +01:00
Michael Scire
0ff42ee69e
gpio: implement majority of the service
2020-10-26 11:48:07 +01:00
yellows8
8718c145f6
lp2p: Updated docs.
2020-10-25 19:55:33 -04:00
yellows8
8a31abeea7
Added lp2p.
2020-10-25 14:00:44 -04:00
Vicki Pfau
4afec4016d
psm: Add more battery functions
2020-09-28 00:36:35 +02:00
yellows8
f01fb21da5
Added uart.
2020-09-12 18:53:30 -04:00
yellows8
ab59dfb5bb
btdrv: Updated docs for BtdrvBluetoothPropertyType_Unknown3.
2020-09-04 11:59:35 -04:00
yellows8
625616bd44
btm: Update the right struct, BtmDeviceInfoList.
2020-08-26 19:10:38 -04:00
yellows8
9febf780b1
btm: Updated BtmDevicePropertyList.
2020-08-26 19:03:55 -04:00
yellows8
cc2be8375a
btm: Updated BtmHostDeviceProperty.
2020-08-26 12:28:32 -04:00
yellows8
ac8ac4919e
set: Updated for [10.1.0+], added more cmds, use struct for nickname.
2020-08-20 23:20:10 -04:00
yellows8
797cdffb14
btdrv: Updated BtdrvBleScanResult.
2020-08-20 18:38:55 -04:00
yellows8
5820178f56
btdrv: Updated param order.
2020-08-20 18:38:55 -04:00
yellows8
89358ba98c
btdrv: Use const for btdrvWriteHidData/btdrvSetHidReport.
2020-08-20 18:38:55 -04:00
yellows8
c669589a35
bluetooth: Updated params, improved docs, etc.
2020-08-20 18:38:55 -04:00
yellows8
8718ea3659
Added btdev.
2020-08-20 18:38:55 -04:00
yellows8
4fae8554f7
btdrv/btm: Updated/added various structs.
2020-08-20 18:38:55 -04:00
yellows8
4db3c621e8
set: Use BtdrvAddress.
2020-08-20 18:38:55 -04:00
yellows8
3b670bc652
btdrv: Added the remaining cmds, various fixes, and added a types .h.
2020-08-20 18:38:55 -04:00
yellows8
ab9ce7c330
btdrv: Added support for pre-4.0.0, etc.
2020-08-20 18:38:55 -04:00
yellows8
8789077bb8
btm: Added the aruid cmds.
2020-08-20 18:38:55 -04:00
yellows8
070e959609
btm: Added more cmds.
2020-08-20 18:38:55 -04:00
yellows8
abf3600724
Added btm, moved btmu structs into btm, and updated docs.
2020-08-20 18:38:55 -04:00
yellows8
5551fcfab6
btmu/btdrv: Use bool flag where needed and updated docs.
2020-08-20 18:38:55 -04:00