HID services: Difference between revisions

No edit summary
Line 752: Line 752:
== WritePalmaActivityEntry ==
== WritePalmaActivityEntry ==
Takes an input [[#PalmaConnectionHandle]], an u64, an u64, an u64, an u64, no output.
Takes an input [[#PalmaConnectionHandle]], an u64, an u64, an u64, an u64, no output.
sdknso exposes the first u64 as a s16, while the rest are exposed as [[#PalmaActivityEntry]].


== WritePalmaRgbLedPatternEntry ==
== WritePalmaRgbLedPatternEntry ==
Line 6,980: Line 6,982:
= PalmaApplicationSectionAccessBuffer =
= PalmaApplicationSectionAccessBuffer =
This is "nn::hid::PalmaApplicationSectionAccessBuffer". This is a 0x100-byte struct.
This is "nn::hid::PalmaApplicationSectionAccessBuffer". This is a 0x100-byte struct.
= PalmaActivityEntry =
This is "nn::hid::PalmaActivityEntry".
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x2 || Passed for the second u64 for [[#WritePalmaActivityEntry]].
|-
| 0x2 || 0x2 || Padding
|-
| 0x4 || 0x4 || Passed for the third u64 for [[#WritePalmaActivityEntry]].
|-
| 0x8 || 0x2 || Passed for the fourth u64 for [[#WritePalmaActivityEntry]].
|}


= PalmaFeature =
= PalmaFeature =