HID services: Difference between revisions
No edit summary |
No edit summary |
||
Line 1,262: | Line 1,262: | ||
== GetFirmwareVersion == | == GetFirmwareVersion == | ||
Takes | Takes an input [[#NpadIdType]] and an input [[#DeviceType]]. Returns an output [[#FirmwareVersion]]. | ||
== GetDestinationFirmwareVersion == | == GetDestinationFirmwareVersion == | ||
Takes | Takes an input [[#NpadIdType]] and an input [[#DeviceType]]. Returns an output [[#FirmwareVersion]]. | ||
== DiscardFirmwareInfoCacheForRevert == | == DiscardFirmwareInfoCacheForRevert == | ||
Takes | 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:: | 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 "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 = |