HID services: Difference between revisions

No edit summary
Line 799: Line 799:
| 829 || [5.0.0+] IsAnalogStickInCircumference
| 829 || [5.0.0+] IsAnalogStickInCircumference
|-
|-
| 830 || [7.0.0+] SetNotificationLedPattern
| 830 || [7.0.0+] [[#SetNotificationLedPattern]]
|-
|-
| 850 || IsUsbFullKeyControllerEnabled
| 850 || IsUsbFullKeyControllerEnabled
Line 869: Line 869:


This is the only hid:sys command used by USB-sysmodule (with value 0x40).
This is the only hid:sys command used by USB-sysmodule (with value 0x40).
== SetNotificationLedPattern ==
Takes an input [[#NotificationLedPattern]] and an u64 '''UniquePadId''', no output.
The specified controller must have a HOME button.
This sends subcommand 0x38 to the specified controller, for setting the pattern for the HOME button notification LED. The input structure is converted to the format used by the [https://github.com/dekuNukem/Nintendo_Switch_Reverse_Engineering/blob/master/bluetooth_hid_subcommands_notes.md subcommand].
== NotificationLedPattern ==
This is "nn::hid::system::NotificationLedPattern".
This is a 0x48-byte struct.


= hid:tmp =
= hid:tmp =