HID services: Difference between revisions
No edit summary |
|||
Line 966: | Line 966: | ||
| 112 || UnsetHomeButtonAutoPilotState | | 112 || UnsetHomeButtonAutoPilotState | ||
|- | |- | ||
| 120 || DeactivateSleepButton | | 120 || [[#DeactivateSleepButton]] | ||
|- | |- | ||
| 121 || SetSleepButtonAutoPilotState | | 121 || [[#SetSleepButtonAutoPilotState]] | ||
|- | |- | ||
| 122 || UnsetSleepButtonAutoPilotState | | 122 || [[#UnsetSleepButtonAutoPilotState]] | ||
|- | |- | ||
| 123 || [1.0.0-9.2.0] DeactivateInputDetector | | 123 || [1.0.0-9.2.0] DeactivateInputDetector | ||
Line 1,204: | Line 1,204: | ||
This just returns 0. | This just returns 0. | ||
== DeactivateSleepButton == | |||
No input/output. | |||
== SetSleepButtonAutoPilotState == | |||
Takes an input [[#SleepButtonAutoPilotState]], no output. | |||
== UnsetSleepButtonAutoPilotState == | |||
No input/output. | |||
== StartFirmwareUpdate == | == StartFirmwareUpdate == | ||
Line 7,816: | Line 7,825: | ||
| 0x20 | | 0x20 | ||
| [[#KeyboardKeySet|Keys]] | | [[#KeyboardKeySet|Keys]] | ||
|} | |||
= SleepButtonAutoPilotState = | |||
This is "nn::hid::debug::SleepButtonAutoPilotState". This is a 0x8-byte struct with 8-byte alignment. | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x0 || 0x8 || Buttons (only bit0 is used) | |||
|} | |} | ||