ndeadly
cee75bbe13
hidsys: add some missing unique pad service wrappers
2021-10-04 21:35:15 +02:00
yellows8
c6dcbdfffb
btm: Updated structs/params for 13.0.0.
2021-09-25 11:01:30 -04:00
yellows8
8db41edc43
psel: Added pselShowUserQualificationPromoter for 13.0.0.
2021-09-24 11:56:15 -04:00
ndeadly
bf2e48e22a
btm: update GetDeviceCondition and GetDeviceInfo service wrappers and related types for 13.0.0 ( #576 )
2021-09-24 17:35:11 +02:00
p-sam
b35d42faaa
hiddbg: fix IsHdlsVirtualDeviceAttached for 13.0.0
2021-09-22 17:32:38 +02:00
Michael Scire
8daccdf35a
ncm: add new 13.0.0 commands
2021-09-18 21:55:14 +02:00
Michael Scire
49507b86a8
svc: add 13.0.0 svc changes
2021-09-18 12:34:58 +02:00
yellows8
369bb31311
btdrv: Added 13.0.0 cmds + minor improvements.
2021-09-18 00:31:53 -04:00
yellows8
0a64ff5af0
setsys: 13.0.0 support
2021-09-17 16:02:49 -04:00
yellows8
4ac0a9ffdc
hidsys: use hosversionBetween
2021-09-17 11:48:09 -04:00
yellows8
8e93933157
hiddbg: hdls 13.0.0 support
2021-09-17 11:23:11 -04:00
yellows8
4ac3b0cec5
hidsys: Check sysver for the removed cmds with 13.0.0.
2021-09-17 01:50:31 -04:00
Sean Maas
960599c4b5
btdrv: fix btdrvRespondToSspRequest for 12.0.0
2021-09-15 12:19:30 -04:00
XorTroll
ade5038282
Fix ldr:ro/ro:1 initialization
2021-09-15 12:18:18 -04:00
fincs
fc2aaefb0f
framebufferCreate: actually set NWindow dimensions ( fix #568 )
2021-09-13 19:01:34 +02:00
Michael Scire
d90afaacde
thread: set arguments/fields before CreateThread
2021-07-20 18:13:10 +02:00
Vicki Pfau
0aba35b3ed
Fix inet_pton by passing in base instead of getting it out ( #557 )
2021-06-24 22:59:28 +02:00
fincs
982aef9ea5
sessionmgr: fix deadlock with multiple waiters ( fix #556 )
2021-06-20 12:39:42 +02:00
ndeadly
373b13b7c0
btm: add BtmDeviceCondition definitions
...
(cherry picked from commit a598dca0e1d8cb4c4f3c053494048832c05a79ed)
(cherry picked from commit 9736386850dc4b987b095a43eceefc469996b2fa)
2021-06-09 21:32:47 +02:00
plutoo
4b2d111859
audctl: Fix prefix on enum
2021-05-30 17:46:49 -07:00
plutoo
6ce881b013
audrec: Initial commit
2021-05-30 17:33:26 -07:00
plutoo
a1ddefd3ca
audctl: Initial commit
2021-05-30 17:33:11 -07:00
yellows8
f486127615
Bluetooth pr rebased ( #552 and #540 )
...
* btdrv: expand upon and refine event data definitions
* btdrv changes for 12.0.0
* btdrv: Various fixes, added enums, etc.
Co-authored-by: ndeadly <24677491+ndeadly@users.noreply.github.com>
2021-05-30 13:47:36 -04:00
Morph
08e2b2d945
swkbd: Fix several swkbd enums and structs ( #549 )
...
* swkbd: Provide more accurate SwkbdInline State descriptions
* swkbd: Correct stringLenMaxExt to stringLenMin
* swkbd: Add setters for stringLenMax/Min in SwkbdAppearArg
2021-05-10 18:16:40 +02:00
fincs
95fca6753d
virtmem: Allow rng algorithm override
2021-05-02 18:26:40 +02:00
fincs
137f6d1ddc
Make argvSetup overridable
2021-05-02 15:18:11 +02:00
TurtleP
00d1a696b9
add audrvVoiceIsPaused
2021-04-26 20:33:10 +02:00
Michael Scire
f7df9d578c
pgl: fix argument order for LaunchProgram on 12.x
2021-04-20 17:38:31 +02:00
yellows8
5509f8f14b
hiddbg: Fix IPC params from the previous commit, closes #543 .
2021-04-19 10:33:03 -04:00
yellows8
d54c9f9cc8
hiddbg: hdls 12.0.0 support, closes #542 .
2021-04-18 18:35:36 -04:00
averne
5d644b6e82
Fix mm:u on 1.0.0
2021-04-18 19:20:02 +02:00
yellows8
2e2cf43cf5
btdrv: Added support for the new 12.0.0 cmds.
2021-04-16 16:46:45 -04:00
Michael Scire
d6a1ef0af4
pgl: convert to cmif/tipc polyglot
2021-04-11 12:20:08 +02:00
Michael Scire
eb8ee97f1c
smm: support tipc/cmif
2021-04-11 12:20:08 +02:00
fincs
7416b23ef9
sm: update for 12.0.0, tipc
2021-04-11 12:20:07 +02:00
fincs
de97b82bce
envSetup: detect Atmosphère environment using EntryType_HosVersion
2021-04-11 12:20:06 +02:00
Jeremy S. Postelnek
ca9d007bd4
friends: ability to get Friend Code ( #539 )
2021-04-10 23:14:24 +02:00
Jeremy S. Postelnek
c5a9a909a9
set:sys: add ProductModel enums ( #538 )
2021-04-02 19:34:40 +02:00
Vicki Pfau
7e29719263
psm: Fix charger definitions
2021-03-30 17:40:05 +02:00
SciresM
f365c9b2b5
htcs: implement hipc bindings ( #530 )
2021-03-16 23:42:50 +01:00
averne
05744823ac
Const request
2021-03-07 19:59:46 +01:00
averne
3374db38a2
Add mm:u service wrappers
2021-03-07 19:59:46 +01:00
averne
3bb44d77b7
Fix nvioctlChannel_Submit syncpt writeback
2021-03-07 19:59:46 +01:00
averne
0716ed6ffd
Add some nvchannel ioctls ( #534 )
2021-02-28 21:17:57 +01:00
Michael Scire
ae6f69d339
bsd: fix bsdRegisterClient
2021-02-26 17:43:20 +01:00
Michael Scire
c8f8145195
bsd: allow user-specified tmem backing buffer
2021-02-24 17:41:52 +01:00
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
3fce0d49e2
time: Fixed signedness issue with time calculation, closes #522 .
2021-02-12 12:33:24 -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
fincs
076657fd31
Allow user override of dynamic memory allocation functions throughout libnx
2021-01-22 18:37:46 +01:00
yellows8
d813bef54b
btdrv: Added/updated structs/enums for events, etc.
2021-01-19 20:02:01 -05:00
fincs
5057a1912e
nv: Allow user override of transfer memory creation
2021-01-18 20:46:50 +01:00
fincs
d53150f855
thread: Allow user override of automatic stack memory allocation
2021-01-17 17:48:08 +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
Luis Scheurenbrand
9e52e55177
avm: fix buffer size for version list import
2021-01-06 20:53:52 +01:00
Luis Scheurenbrand
a1a69ebe09
avm: fix more merge errors
2021-01-06 18:27:12 +01:00
HookedBehemoth
43202cc829
add application version manager service wrapper ( #519 )
2021-01-06 17:25:29 +01: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
yellows8
3c9e4e2ebc
ns: Use ns:ro if available.
2020-12-17 15:01:46 -05: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
c365c1ae68
hid: Minor adjustments.
2020-12-11 15:42:01 -05:00
yellows8
16fb73cc96
hid: Fixed hidKeyboard{Held/Down/Up}.
2020-12-11 15:15:58 -05:00
Michael Theall
1e9fe9b199
usbDsWaitReady: use deadline timeout
2020-12-05 02:42:45 +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
49d7fe81b8
usbds: Fixed usbDsInterface_AppendConfigurationData for 11.0.0.
2020-12-03 23:11:28 -05:00
yellows8
0f38ec8a3d
hidbus: Adjusted out-of-bounds size handling.
2020-12-03 18:03:32 -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
SciresM
83dc9203dc
usb: update for 11.0.0 ( #508 )
2020-12-02 17:06:24 +01:00
fincs
ab71d6033a
hid: Read SystemExt/System first in hidScanInput for compatibility with old homebrew
2020-12-01 21:07:03 +01:00
fincs
676f254be1
pad: Fix logic typo
2020-12-01 16:37:01 +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
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
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
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
d4b3b1e90f
hidbus: Updated HidbusJoyPollingMode.
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
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
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
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
yellows8
3c13d353b0
hid: Updated _hidGetNpadPowerInfo().
2020-12-01 13:49:54 +01:00
yellows8
7c64b5b70b
hid: Updated HidNpadSystemProperties.
2020-12-01 13:49:54 +01:00
yellows8
5e03104d1d
hid: Updated structs.
2020-12-01 13:49:53 +01:00
yellows8
4149481608
hid: Fix comment.
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
dc0bc2ab7b
hid: Fixed memset in hidJoystickRead().
2020-12-01 13:49:51 +01:00
yellows8
1c82758c03
hid: Added hidGetTouchScreenStates, which hidScanInput now uses.
...
Struct adjustments.
2020-12-01 13:49:51 +01:00
fincs
2c26092608
hid: Implement hidSixAxisSensorValuesRead using hidGetSixAxisSensorStates + other minor 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
a924fac0ab
hid: Filled in the Gc trigger fields.
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
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
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
SciresM
8ce231e7c9
ldr: update SetProgramArguments for 11.0.0 abi change ( #507 )
2020-12-01 12:01:33 +01:00
Michael Scire
e5ae43f4c2
results: use R_VALUE for comparisons
2020-12-01 02:26:26 +01:00