Changes

1,012 bytes added ,  18:04, 31 August 2022
no edit summary
Line 1,262: Line 1,262:     
== GetFirmwareVersion ==
 
== GetFirmwareVersion ==
Takes a total of 8-bytes of input. Returns an output [[#FirmwareVersion]].
+
Takes an input [[#NpadIdType]] and an input [[#DeviceType]]. Returns an output [[#FirmwareVersion]].
    
== GetDestinationFirmwareVersion ==
 
== GetDestinationFirmwareVersion ==
Takes a total of 8-bytes of input. Returns an output [[#FirmwareVersion]].
+
Takes an input [[#NpadIdType]] and an input [[#DeviceType]]. Returns an output [[#FirmwareVersion]].
    
== DiscardFirmwareInfoCacheForRevert ==
 
== DiscardFirmwareInfoCacheForRevert ==
Takes a total of 8-bytes of input, and returns a total of 5-bytes of output.
+
Takes an input [[#NpadIdType]] and an input [[#DeviceType]]. Returns a total of 5-bytes of output.
    
[3.0.0+] No input/output.
 
[3.0.0+] No input/output.
Line 6,875: Line 6,875:     
= NpadDeviceTypeSet =
 
= NpadDeviceTypeSet =
This is "nn::hid::system::NpadDeviceType". This is a BitFlagSet object for [[#NpadDeviceType]].
+
This is "nn::hid::system::NpadDeviceTypeSet". This is a BitFlagSet object for [[#DeviceType|NpadDeviceType]].
    
= NpadSystemPropertiesSet =
 
= NpadSystemPropertiesSet =
Line 6,881: Line 6,881:     
= NpadSystemProperties =
 
= NpadSystemProperties =
This is "nn::hid::NpadSystemProperties". This is a 64-bit flag.
+
This is "nn::hid::detail::NpadSystemProperties". This is a 64-bit flag.
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 7,095: Line 7,095:     
= FirmwareVersion =
 
= FirmwareVersion =
This is "nn::hid::system::FirmwareVersion". This is a 0x10 byte ([1.0.0-2.3.0] 0x4 byte) value.
+
This is "nn::hid::system::FirmwareVersion" ([1.0.0-2.3.0] "nn::hid::debug::FirmwareVersion").
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0
 +
| 0x1
 +
| Major
 +
|-
 +
| 0x1
 +
| 0x1
 +
| Minor
 +
|-
 +
| 0x2
 +
| 0x1
 +
| Micro
 +
|-
 +
| 0x3
 +
| 0x1
 +
| Revision
 +
|-
 +
| 0x4
 +
| 0xC
 +
| [3.0.0+] [[#DeviceIdentifier]]
 +
|}
 +
 
 +
== DeviceIdentifier ==
 +
{| class="wikitable" border="1"
 +
!  Value
 +
!  Description
 +
|-
 +
| "JR" || Joy-Con right controller
 +
|-
 +
| "JL" || Joy-Con left controller
 +
|-
 +
| "FK" || Pro Controller
 +
|-
 +
| "MY" || [[#DeviceTypeInternal|DeviceType]] 4 and [[#DeviceTypeInternal|DeviceType]] 5
 +
|-
 +
| "LC" || [[#DeviceTypeInternal|DeviceType]] 6 and [[#DeviceTypeInternal|DeviceType]] 30
 +
|-
 +
| "HL" || Famicom left controller
 +
|-
 +
| "HR" || Famicom right controller (with microphone)
 +
|-
 +
| "NL" || NES left controller
 +
|-
 +
| "NR" || NES right controller
 +
|-
 +
| "SN" || SNES controller
 +
|-
 +
| "LT" || N64 controller
 +
|-
 +
| "LS" || Sega Genesis controller
 +
|-
 +
| "PB" || Poké Ball Plus controller
 +
|-
 +
| "SH" || SioH
 +
|-
 +
| "TS" || TouchScreen
 +
|}
    
= AppletDetailedUiType =
 
= AppletDetailedUiType =