Line 198: |
Line 198: |
| | 408 || [9.0.0-9.2.0] GetNpadOfHighestBatteryLevelForJoyRight | | | 408 || [9.0.0-9.2.0] GetNpadOfHighestBatteryLevelForJoyRight |
| |- | | |- |
− | | 500 || [5.0.0+] GetPalmaConnectionHandle | + | | 500 || [5.0.0+] [[#GetPalmaConnectionHandle]] |
| |- | | |- |
− | | 501 || [5.0.0+] InitializePalma | + | | 501 || [5.0.0+] [[#InitializePalma]] |
| |- | | |- |
− | | 502 || [5.0.0+] AcquirePalmaOperationCompleteEvent | + | | 502 || [5.0.0+] [[#AcquirePalmaOperationCompleteEvent]] |
| |- | | |- |
− | | 503 || [5.0.0+] GetPalmaOperationInfo | + | | 503 || [5.0.0+] [[#GetPalmaOperationInfo]] |
| |- | | |- |
− | | 504 || [5.0.0+] PlayPalmaActivity | + | | 504 || [5.0.0+] [[#PlayPalmaActivity]] |
| |- | | |- |
− | | 505 || [5.0.0+] SetPalmaFrModeType | + | | 505 || [5.0.0+] [[#SetPalmaFrModeType]] |
| |- | | |- |
− | | 506 || [5.0.0+] ReadPalmaStep | + | | 506 || [5.0.0+] [[#ReadPalmaStep]] |
| |- | | |- |
− | | 507 || [5.0.0+] EnablePalmaStep | + | | 507 || [5.0.0+] [[#EnablePalmaStep]] |
| |- | | |- |
− | | 508 || [5.0.0+] ResetPalmaStep | + | | 508 || [5.0.0+] [[#ResetPalmaStep]] |
| |- | | |- |
− | | 509 || [5.0.0+] ReadPalmaApplicationSection | + | | 509 || [5.0.0+] [[#ReadPalmaApplicationSection]] |
| |- | | |- |
− | | 510 || [5.0.0+] WritePalmaApplicationSection | + | | 510 || [5.0.0+] [[#WritePalmaApplicationSection]] |
| |- | | |- |
− | | 511 || [5.0.0+] ReadPalmaUniqueCode | + | | 511 || [5.0.0+] [[#ReadPalmaUniqueCode]] |
| |- | | |- |
− | | 512 || [5.0.0+] SetPalmaUniqueCodeInvalid | + | | 512 || [5.0.0+] [[#SetPalmaUniqueCodeInvalid]] |
| |- | | |- |
− | | 513 || [5.0.0+] WritePalmaActivityEntry | + | | 513 || [5.0.0+] [[#WritePalmaActivityEntry]] |
| |- | | |- |
− | | 514 || [5.0.0+] WritePalmaRgbLedPatternEntry | + | | 514 || [5.0.0+] [[#WritePalmaRgbLedPatternEntry]] |
| |- | | |- |
− | | 515 || [5.0.0+] WritePalmaWaveEntry | + | | 515 || [5.0.0+] [[#WritePalmaWaveEntry]] |
| |- | | |- |
− | | 516 || [5.0.0+] SetPalmaDataBaseIdentificationVersion | + | | 516 || [5.0.0+] [[#SetPalmaDataBaseIdentificationVersion]] |
| |- | | |- |
− | | 517 || [5.0.0+] GetPalmaDataBaseIdentificationVersion | + | | 517 || [5.0.0+] [[#GetPalmaDataBaseIdentificationVersion]] |
| |- | | |- |
− | | 518 || [5.0.0+] SuspendPalmaFeature | + | | 518 || [5.0.0+] [[#SuspendPalmaFeature]] |
| |- | | |- |
− | | 519 || [5.1.0+] GetPalmaOperationResult | + | | 519 || [5.1.0+] [[#GetPalmaOperationResult]] |
| |- | | |- |
− | | 520 || [5.1.0+] ReadPalmaPlayLog | + | | 520 || [5.1.0+] [[#ReadPalmaPlayLog]] |
| |- | | |- |
− | | 521 || [5.1.0+] ResetPalmaPlayLog | + | | 521 || [5.1.0+] [[#ResetPalmaPlayLog]] |
| |- | | |- |
− | | 522 || [5.1.0+] SetIsPalmaAllConnectable | + | | 522 || [5.1.0+] [[#SetIsPalmaAllConnectable]] |
| |- | | |- |
− | | 523 || [5.1.0+] SetIsPalmaPairedConnectable | + | | 523 || [5.1.0+] [[#SetIsPalmaPairedConnectable]] |
| |- | | |- |
− | | 524 || [5.1.0+] PairPalma | + | | 524 || [5.1.0+] [[#PairPalma]] |
| |- | | |- |
− | | 525 || [5.1.0+] SetPalmaBoostMode | + | | 525 || [5.1.0+] [[#SetPalmaBoostMode]] |
| |- | | |- |
− | | 526 || [7.0.0+] CancelWritePalmaWaveEntry | + | | 526 || [7.0.0+] [[#CancelWritePalmaWaveEntry]] |
| |- | | |- |
− | | 527 || [8.0.0+] EnablePalmaBoostMode | + | | 527 || [8.0.0+] [[#EnablePalmaBoostMode]] |
| |- | | |- |
− | | 528 || [8.0.0+] GetPalmaBluetoothAddress | + | | 528 || [8.0.0+] [[#GetPalmaBluetoothAddress]] |
| |- | | |- |
− | | 529 || [8.0.0+] SetDisallowedPalmaConnection | + | | 529 || [8.0.0+] [[#SetDisallowedPalmaConnection]] |
| |- | | |- |
| | 1000 || [[#SetNpadCommunicationMode]] | | | 1000 || [[#SetNpadCommunicationMode]] |
Line 702: |
Line 702: |
| | | |
| [[#NpadIdType|Handheld]] is ignored. | | [[#NpadIdType|Handheld]] is ignored. |
| + | |
| + | == GetPalmaConnectionHandle == |
| + | Takes a PID, an u32, an [[AM_services|AppletResourceUserId]], returns an output [[#PalmaConnectionHandle]]. |
| + | |
| + | == InitializePalma == |
| + | Takes an input [[#PalmaConnectionHandle]], no output. |
| + | |
| + | == AcquirePalmaOperationCompleteEvent == |
| + | Takes an input [[#PalmaConnectionHandle]], returns an output handle. |
| + | |
| + | == GetPalmaOperationInfo == |
| + | Takes a [[#PalmaConnectionHandle]], a type-0x6 output buffer, returns an output u64. |
| + | |
| + | == PlayPalmaActivity == |
| + | Takes an input [[#PalmaConnectionHandle]], an u64, no output. |
| + | |
| + | == SetPalmaFrModeType == |
| + | Takes an input [[#PalmaConnectionHandle]], an u64, no output. |
| + | |
| + | == ReadPalmaStep == |
| + | Takes an input [[#PalmaConnectionHandle]], no output. |
| + | |
| + | == EnablePalmaStep == |
| + | Takes an input bool, a [[#PalmaConnectionHandle]], no output. |
| + | |
| + | == ResetPalmaStep == |
| + | Takes an input [[#PalmaConnectionHandle]], no output. |
| + | |
| + | == ReadPalmaApplicationSection == |
| + | Takes an input [[#PalmaConnectionHandle]], an u64, an u64, no output. |
| + | |
| + | == WritePalmaApplicationSection == |
| + | Takes an input [[#PalmaConnectionHandle]], an u64, an u64, a type-0x19 input buffer containing a [[#PalmaApplicationSectionAccessBuffer]], no output. |
| + | |
| + | == ReadPalmaUniqueCode == |
| + | Takes an input [[#PalmaConnectionHandle]], no output. |
| + | |
| + | == SetPalmaUniqueCodeInvalid == |
| + | Takes an input [[#PalmaConnectionHandle]], no output. |
| + | |
| + | == WritePalmaActivityEntry == |
| + | Takes an input [[#PalmaConnectionHandle]], an u64, an u64, an u64, an u64, no output. |
| + | |
| + | == WritePalmaRgbLedPatternEntry == |
| + | Takes an input [[#PalmaConnectionHandle]], an u64, a type-0x5 input buffer, no output. |
| + | |
| + | == WritePalmaWaveEntry == |
| + | Takes an input [[#PalmaConnectionHandle]], an u64, an u64, a handle, an u64, an u64, no output. |
| + | |
| + | == SetPalmaDataBaseIdentificationVersion == |
| + | Takes an input s32, a [[#PalmaConnectionHandle]], no output. |
| + | |
| + | == GetPalmaDataBaseIdentificationVersion == |
| + | Takes an input [[#PalmaConnectionHandle]], no output. |
| + | |
| + | == SuspendPalmaFeature == |
| + | Takes an input "nn::util::BitFlagSet<32, [[#PalmaFeature]]>", a [[#PalmaConnectionHandle]], no output. |
| + | |
| + | == GetPalmaOperationResult == |
| + | Takes an input [[#PalmaConnectionHandle]], no output. |
| + | |
| + | == ReadPalmaPlayLog == |
| + | Takes an input u16, a [[#PalmaConnectionHandle]], no output. |
| + | |
| + | == ResetPalmaPlayLog == |
| + | Takes an input u16, a [[#PalmaConnectionHandle]], no output. |
| + | |
| + | == SetIsPalmaAllConnectable == |
| + | Takes a PID, a bool, an [[AM_services|AppletResourceUserId]], no output. |
| + | |
| + | == SetIsPalmaPairedConnectable == |
| + | Takes a PID, a bool, an [[AM_services|AppletResourceUserId]], no output. |
| + | |
| + | == PairPalma == |
| + | Takes an input [[#PalmaConnectionHandle]], no output. |
| + | |
| + | == SetPalmaBoostMode == |
| + | Takes an input bool, no output. |
| + | |
| + | == CancelWritePalmaWaveEntry == |
| + | Takes an input [[#PalmaConnectionHandle]], no output. |
| + | |
| + | == EnablePalmaBoostMode == |
| + | Takes a PID, a bool, an [[AM_services|AppletResourceUserId]], no output. |
| + | |
| + | == GetPalmaBluetoothAddress == |
| + | Takes an input [[#PalmaConnectionHandle]], returns an output [[Bluetooth_Driver_services#Address|Address]]. |
| + | |
| + | == SetDisallowedPalmaConnection == |
| + | Takes a PID, an [[AM_services|AppletResourceUserId]], a type-0x9 input buffer containing an array of [[Bluetooth_Driver_services#Address|Address]], no output. |
| | | |
| == SetNpadCommunicationMode == | | == SetNpadCommunicationMode == |
Line 6,783: |
Line 6,873: |
| | 2 || Tight | | | 2 || Tight |
| |} | | |} |
| + | |
| + | = PalmaConnectionHandle = |
| + | This is "nn::hid::PalmaConnectionHandle". This is a 0x8-byte struct with 8-byte alignment. |
| + | |
| + | = PalmaApplicationSectionAccessBuffer = |
| + | This is "nn::hid::PalmaApplicationSectionAccessBuffer". This is a 0x100-byte struct. |
| + | |
| + | = PalmaFeature = |
| + | This is "nn::hid::PalmaFeature". |
| | | |
| = AbstractedPadState = | | = AbstractedPadState = |