HID services: Difference between revisions
No edit summary |
|||
Line 919: | Line 919: | ||
| 1053 || [5.0.0+] GetSixAxisSensorAccurateUserCalibrationState | | 1053 || [5.0.0+] GetSixAxisSensorAccurateUserCalibrationState | ||
|- | |- | ||
| 1100 || [5.0.0+] GetHidbusSystemServiceObject | | 1100 || [5.0.0+] [[#GetHidbusSystemServiceObject]] | ||
|- | |- | ||
| 1120 || [6.0.0+] SetFirmwareHotfixUpdateSkipEnabled | | 1120 || [6.0.0+] SetFirmwareHotfixUpdateSkipEnabled | ||
Line 960: | Line 960: | ||
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 this [https://github.com/dekuNukem/Nintendo_Switch_Reverse_Engineering/blob/master/bluetooth_hid_subcommands_notes.md#subcommand-0x38-set-home-light subcommand]. | 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 this [https://github.com/dekuNukem/Nintendo_Switch_Reverse_Engineering/blob/master/bluetooth_hid_subcommands_notes.md#subcommand-0x38-set-home-light subcommand]. | ||
== GetHidbusSystemServiceObject == | |||
No input, returns an [[#IHidbusSystemServer]]. | |||
== NotificationLedPattern == | == NotificationLedPattern == | ||
Line 1,136: | Line 1,139: | ||
|- | |- | ||
| 0x35 || 0x1 || Set to value 1. | | 0x35 || 0x1 || Set to value 1. | ||
|} | |||
== IHidbusSystemServer == | |||
This is "nn::hidbus::IHidbusSystemServer". | |||
This was added with [5.0.0+]. | |||
{| class="wikitable" border="1" | |||
|- | |||
! Cmd || Name | |||
|- | |||
| 500 || | |||
|- | |||
| 501 || | |||
|- | |||
| 502 || | |||
|} | |} | ||
Line 1,424: | Line 1,443: | ||
|- | |- | ||
| 5 || CheckNfcDevicePower | | 5 || CheckNfcDevicePower | ||
|- | |||
| 6 || [5.0.0+] | |||
|- | |- | ||
| 10 || SetNfcEvent | | 10 || SetNfcEvent | ||
Line 1,451: | Line 1,472: | ||
| 102 || GetAwakeTriggerReasonForRightRail | | 102 || GetAwakeTriggerReasonForRightRail | ||
|} | |} | ||
[5.0.0+] SetDataFormat, SetMcuState, and ClearMifareKey: now takes a total of 0xC-bytes of input instead of 0x10. | |||
[6.0.0+]: The buffer type used by GetNfcInfo is now 0x32 instead of 0x1A. | [6.0.0+]: The buffer type used by GetNfcInfo is now 0x32 instead of 0x1A. | ||
Line 1,456: | Line 1,479: | ||
= hidbus = | = hidbus = | ||
This is "nn::hidbus::IHidbusServer". | This is "nn::hidbus::IHidbusServer". | ||
This was added with [5.0.0+]. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" |