Changes

Jump to navigation Jump to search
1,787 bytes added ,  22:06, 18 April 2021
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,097: Line 1,097:  
|-
 
|-
 
| 249 || [11.0.0+] ConnectUniquePad
 
| 249 || [11.0.0+] ConnectUniquePad
 +
|-
 +
| 250 || [12.0.0+] IsVirtual
 +
|-
 +
| 251 || [12.0.0+] GetAnalogStickModuleParam
 
|-
 
|-
 
| 301 || [5.0.0-8.1.0] [[#GetAbstractedPadHandles]]
 
| 301 || [5.0.0-8.1.0] [[#GetAbstractedPadHandles]]
Line 1,151: Line 1,155:  
|-
 
|-
 
| 600 || [10.0.0+] ConvertPadState
 
| 600 || [10.0.0+] ConvertPadState
 +
|-
 +
| 650 || [12.0.0+] AddButtonPlayData
 +
|-
 +
| 651 || [12.0.0+] StartButtonPlayData
 +
|-
 +
| 652 || [12.0.0+] StopButtonPlayData
 
|-
 
|-
 
| 2000 || [10.0.0+] DeactivateDigitizer
 
| 2000 || [10.0.0+] DeactivateDigitizer
Line 1,204: Line 1,214:     
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 1,468: Line 1,487:  
|-
 
|-
 
| 513 || [3.0.0+] EndPermitVibrationSession
 
| 513 || [3.0.0+] EndPermitVibrationSession
 +
|-
 +
| 514 || [12.0.0+] SendVibrationNotificationPattern
 
|-
 
|-
 
| 520 || EnableHandheldHids
 
| 520 || EnableHandheldHids
Line 7,816: Line 7,837:  
| 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)
 +
|}
 +
 +
= PowerInfo =
 +
This is "nn::hidtypes::PowerInfo".
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0 || 0x4 || BatteryLevel
 +
|-
 +
| 0x4 || 0x4 || [[#PowerAttribute]]
 +
|}
 +
 +
= PowerAttribute =
 +
This is "nn::hidtypes::PowerAttribute". This is a 32-bit flag.
 +
 +
{| class="wikitable" border="1"
 +
!  Bits
 +
!  Description
 +
|-
 +
| 0
 +
| IsPowered
 +
|-
 +
| 1
 +
| IsCharging
 +
|}
 +
 +
= HdlsAttribute =
 +
This is "nn::hidtypes::HdlsAttribute". This is a 32-bit flag.
 +
 +
{| class="wikitable" border="1"
 +
!  Bits
 +
!  Description
 +
|-
 +
| 0
 +
| HasVirtualSixAxisSensorAcceleration
 +
|-
 +
| 1
 +
| HasVirtualSixAxisSensorAngle
 
|}
 
|}
   Line 7,892: Line 7,967:     
= HdlsDeviceInfo =
 
= HdlsDeviceInfo =
This is a 0x10-byte struct.
+
This is "nn::hid::debug::HdlsDeviceInfo". This is a 0x10-byte struct.
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 7,931: Line 8,006:     
= HdlsState =
 
= HdlsState =
This is a 0x24-byte struct.
+
This is "nn::hid::debug::HdlsState". This is a 0x24-byte struct.
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 7,949: Line 8,024:  
| 0x10 || 0x10(4*2*2) || Joystick data.
 
| 0x10 || 0x10(4*2*2) || Joystick data.
 
|-
 
|-
| 0x20 || 0x1 || Unused for input. Set with output from [[#DumpHdlsStates]] (zero in some cases).
+
| 0x20 || 0x1 || Indicator. Unused for input. Set with output from [[#DumpHdlsStates]] (zero in some cases).
 
|-
 
|-
 
| 0x21 || 0x3 || Padding
 
| 0x21 || 0x3 || Padding
 
|}
 
|}
   −
[9.0.0+]:
+
[9.0.0+] (0x28-bytes):
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
 
! Offset || Size || Description
 
! Offset || Size || Description
 
|-
 
|-
| 0x0 || 0x4 || BatteryLevel for the main PowerInfo.
+
| 0x0 || 0x8 || [[#PowerInfo]]
 +
|-
 +
| 0x8 || 0x8 || [[#NpadButton|Buttons]], masked with 0xfffffffff00fffff. See above table regarding HOME/Capture buttons.
 +
|-
 +
| 0x10 || 0x10(4*2*2) || Joystick data.
 +
|-
 +
| 0x20 || 0x1 || Indicator. Unused for input. Set with output from [[#DumpHdlsStates]] (zero in some cases).
 +
|-
 +
| 0x21 || 0x7 || Padding
 +
|}
 +
 
 +
[12.0.0+] (0x40-bytes):
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 
|-
 
|-
| 0x4 || 0x4 || Flags. Used to set the main PowerInfo for [[#NpadSystemProperties]]. Bit0 -> IsPowered, bit1 -> IsCharging.
+
| 0x0 || 0x8 || [[#PowerInfo]]
 
|-
 
|-
 
| 0x8 || 0x8 || [[#NpadButton|Buttons]], masked with 0xfffffffff00fffff. See above table regarding HOME/Capture buttons.
 
| 0x8 || 0x8 || [[#NpadButton|Buttons]], masked with 0xfffffffff00fffff. See above table regarding HOME/Capture buttons.
Line 7,967: Line 8,056:  
| 0x10 || 0x10(4*2*2) || Joystick data.
 
| 0x10 || 0x10(4*2*2) || Joystick data.
 
|-
 
|-
| 0x20 || 0x1 || Unused for input. Set with output from [[#DumpHdlsStates]] (zero in some cases).
+
| 0x20 || 0xC || VirtualSixAxisSensorAcceleration
 +
|-
 +
| 0x2C || 0xC || VirtualSixAxisSensorAngle
 +
|-
 +
| 0x38 || 0x4 || [[#HdlsAttribute]]
 +
|-
 +
| 0x3C || 0x1 || Indicator. Unused for input.
 
|-
 
|-
| 0x21 || 0x3 || Padding
+
| 0x3D || 0x3 || Padding
 
|}
 
|}
  

Navigation menu