HID services: Difference between revisions

Fifty
(7 intermediate revisions by the same user not shown)
Line 173: Line 173:
|-
|-
| 212 || [11.0.0+] [[#SendVibrationValueInBool]]
| 212 || [11.0.0+] [[#SendVibrationValueInBool]]
|-
| 213 || [17.0.0+] SendVibrationValueInMode
|-
| 214 || [17.0.0+] SendVibrationValuesInMode
|-
|-
| 300 || [3.0.0+] [[#ActivateConsoleSixAxisSensor]]
| 300 || [3.0.0+] [[#ActivateConsoleSixAxisSensor]]
Line 195: Line 199:
|-
|-
| 310 || [6.0.0+] [[#ResetSevenSixAxisSensorTimestamp]]
| 310 || [6.0.0+] [[#ResetSevenSixAxisSensorTimestamp]]
|-
| 311 || [17.0.0+] ForceActivateConsoleSixAxisSensor
|-
| 312 || [17.0.0+] ForceDeactivateConsoleSixAxisSensor
|-
|-
| 400 || [3.0.0+] [[#IsUsbFullKeyControllerEnabled]]
| 400 || [3.0.0+] [[#IsUsbFullKeyControllerEnabled]]
Line 281: Line 289:
|-
|-
| 1003 || [9.0.0+] [[#IsFirmwareUpdateNeededForNotification]]
| 1003 || [9.0.0+] [[#IsFirmwareUpdateNeededForNotification]]
|-
| 1004 || [17.0.0+] SetTouchScreenResolution
|-
|-
| 2000 || [10.0.0+] [[#ActivateDigitizer]]
| 2000 || [10.0.0+] [[#ActivateDigitizer]]
Line 1,139: Line 1,149:
|-
|-
| 216 || [6.0.0+] SetAllKuinaDevicesToFirmwareUpdateMode
| 216 || [6.0.0+] SetAllKuinaDevicesToFirmwareUpdateMode
|-
| 217 || [17.0.0+] StartFirmwareUpdateFromImageSet
|-
|-
| 221 || [3.0.0+] [[#UpdateControllerColor]]
| 221 || [3.0.0+] [[#UpdateControllerColor]]
Line 1,233: Line 1,245:
|-
|-
| 350 || [5.0.0+] [[#AddRegisteredDevice]]
| 350 || [5.0.0+] [[#AddRegisteredDevice]]
|-
| 351 || [17.0.0+] GetRegisteredDevicesCountDebug
|-
| 352 || [17.0.0+] DeleteRegisteredDevicesDebug
|-
|-
| 400 || [6.0.0+] DisableExternalMcuOnNxDevice
| 400 || [6.0.0+] DisableExternalMcuOnNxDevice
Line 1,897: Line 1,913:
|-
|-
| 1291 || [11.0.0+] [[#SetButtonConfigStorageRight]]
| 1291 || [11.0.0+] [[#SetButtonConfigStorageRight]]
|-
| 1320 || [17.0.0+] WakeTouchScreenUp
|-
| 1321 || [17.0.0+] PutTouchScreenToSleep
|-
|-
| 12010 || [11.0.0+] [[#SetButtonConfigLeft]]
| 12010 || [11.0.0+] [[#SetButtonConfigLeft]]
Line 7,281: Line 7,301:
| "MY" || [[#DeviceTypeInternal|DeviceType]] 4 and [[#DeviceTypeInternal|DeviceType]] 5
| "MY" || [[#DeviceTypeInternal|DeviceType]] 4 and [[#DeviceTypeInternal|DeviceType]] 5
|-
|-
| "LC" || [[#DeviceTypeInternal|DeviceType]] 6 and [[#DeviceTypeInternal|DeviceType]] 30
| "LC" || "Tarragon" ([[#DeviceTypeInternal|DeviceType]] 6) and [[#DeviceTypeInternal|DeviceType]] 30
|-
|-
| "HL" || Famicom left controller
| "HL" || Famicom left controller
Line 7,477: Line 7,497:
| 2 || Rail
| 2 || Rail
|-
|-
| 3 || USB
| 3 || Usb
|-
|-
| 4 || Embedded
| 4 || Embedded
Line 7,723: Line 7,743:
| 5 || JoyRight || RightController || ||
| 5 || JoyRight || RightController || ||
|-
|-
| 6 || FullKey || FullKeyController || ||
| 6 || FullKey || FullKeyController || || "Tarragon" controller
|-
|-
| 7 || LarkHvcLeft, HandheldLarkHvcLeft || LeftController || LarkHvc1, HandheldLarkHvc1Only, HandheldLarkHvc1JoyConRight, HandheldLarkHvc1LarkHvc2, HandheldLarkHvc1LarkNesRight, HandheldNone || Famicom left controller
| 7 || LarkHvcLeft, HandheldLarkHvcLeft || LeftController || LarkHvc1, HandheldLarkHvc1Only, HandheldLarkHvc1JoyConRight, HandheldLarkHvc1LarkHvc2, HandheldLarkHvc1LarkNesRight, HandheldNone || Famicom left controller
Line 7,772: Line 7,792:
|-
|-
| [14.0.0+] 30 || FullKey || FullKeyController || ||
| [14.0.0+] 30 || FullKey || FullKeyController || ||
|}
= VidPidDefinition =
This is "nn::hidtypes::VidPidDefinition".
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x0
| 0x2
| Vid
|-
| 0x2
| 0x2
| PidRangeMax
|-
| 0x4
| 0x2
| PidRangeMin
|-
| 0x6
| 0x1
| [[#DeviceTypeInternal|DeviceType]]
|-
| 0x7
| 0x1
| Reserved
|}
= VidPidDefinitions =
This is "nn::hidtypes::detail::VidPidDefinitions". This is a list of [[#VidPidDefinition|VidPidDefinition]] objects maintained by the hid-sysmodule.
{| class="wikitable" border="1"
|-
! Vid || PidRangeMax || PidRangeMin || [[#DeviceTypeInternal|DeviceType]]
|-
| 0x57E || 0x2006 || 0x2006 || 2
|-
| 0x57E || 0x2007 || 0x2007 || 1
|-
| 0x57E || 0x2009 || 0x2009 || 3
|-
| 0x57E || 0x200F || 0x200F || 24
|-
| 0x57E || 0x200E || 0x200E || 23
|-
| 0x57E || 0x2008 || 0x2008 || 25
|-
| 0x57E || 0x2017 || 0x2017 || 11
|-
| 0x57E || 0x2018 || 0x2018 || 26
|-
| 0x57E || 0x2019 || 0x2019 || 22
|-
| 0x57E || 0x201A || 0x201A || 27
|-
| 0x57E || 0x201E || 0x201E || 28
|-
| 0x57E || 0x201F || 0x201F || 29
|-
| 0x57E || 0x337 || 0x337 || 13
|-
| 0x57E || 0x300E || 0x300E || [17.0.0+] 18
|-
| 0x57E || 0x300D || 0x300D || [17.0.0+] 14
|-
| 0xF0D || 0x92 || 0x92 || 15
|-
| 0xF0D || 0xAB || 0xAA || 15
|-
| 0xF0D || 0xC1 || 0xC1 || 15
|-
| 0xF0D || 0xFF || 0xF0 || 15
|-
| 0xF0D || 0x22F || 0x200 || 15
|-
| 0xE6F || 0x193 || 0x180 || 15
|-
| 0x20D6 || 0xA719 || 0xA710 || 15
|-
| 0x20D6 || 0xA729 || 0xA720 || 15
|-
| 0x33DD || 0xB || 0x1 || 15
|}
|}


Line 8,771: Line 8,877:
| 2 || Rail
| 2 || Rail
|-
|-
| 3 || USB
| 3 || Usb
|-
|-
| 4 || Embedded
| 4 || Embedded
Line 8,950: Line 9,056:
|-
|-
| 2
| 2
| HasLeftSixAxisSensor
| HasLeftJoySixAxisSensor
|-
|-
| 3
| 3
| HasRightSixAxisSensor
| HasRightJoySixAxisSensor
|-
|-
| 4
| 4
| HasExternalSixAxisSensor
| HasFullKeySixAxisSensor
|-
|-
| 5
| 5
Line 8,980: Line 9,086:
|-
|-
| 12
| 12
| HasPalmaIc
| IsPalma
|-
|-
| 13
| 13
Line 8,995: Line 9,101:
|-
|-
| 17
| 17
| HasLeftRightBattery
| HasLeftJoyRightJoyBattery
|-
|-
| 18
| 18
| HasStandardBattery
| HasFullKeyBattery
|-
|-
| 19
| 19
| HasBattery
| IsDisconnectControllerIfBatteryNone
|-
|-
| 20
| 20
| HasMainColor
| HasControllerColor
|-
|-
| 21
| 21
| HasSubColor
| HasGripColor
|-
|-
| 22
| 22
Line 9,028: Line 9,134:
|-
|-
| 28
| 28
| IsEmbeddedController
| IsButtonConfigEmbeddedSupported
|-
|-
| 29
| 29
| IsFullController
| IsButtonConfigFullSupported
|-
|-
| 30
| 30
| IsLeftController
| IsButtonConfigLeftSupported
|-
|-
| 31
| 31
| IsRightController
| IsButtonConfigRightSupported
|-
|-
| 32
| 32
Line 9,049: Line 9,155:
|-
|-
| 35
| 35
| NormalizeAnalogStickWithInnerCross
| IsNormalizeAnalogStickWithInnerCross
|}
|}


Line 9,088: Line 9,194:
|-
|-
| 0x2C || 0x4 || Reserved
| 0x2C || 0x4 || Reserved
|}
= DeviceDescriptionList =
This is "nn::hidtypes::detail::DeviceDescriptionList". This is a list of [[#DeviceDescriptorType|DeviceDescriptorType]] objects maintained by the hid-sysmodule.
{| class="wikitable" border="1"
|-
! [[#DeviceTypeInternal|DeviceType]] || [[#FeatureType|FeatureType]] || [[#DigitalButton|DigitalButton]] || [[#AssignmentStyle|AssignmentStyle]] || [[#Color|DeviceColor]]
|-
| 1 || 0x18BDBE44A || 0x18F0406AF || 0x24 || 0xFF828282, 0xFF0F0F0F, 0x00000000, 0x00000000
|-
| 2 || 0x14CDB8225 || 0x6F8F950 || 0x12 || 0xFF828282, 0xFF0F0F0F, 0x00000000, 0x00000000
|-
| 3 || 0x72BBDA073 || 0xFFCFFFF || 0x1 || 0xFF2D2D2D, 0xFFE6E6E6, 0xFF464646, 0xFF464646
|-
| 4 || 0x108000025 || 0x6F8F950 || 0x2 || 0xFF828282, 0xFF0F0F0F, 0x00000000, 0x00000000
|-
| 5 || 0x10800004A || 0x18F0406AF || 0x4 || 0xFF828282, 0xFF0F0F0F, 0x00000000, 0x00000000
|-
| 6 || 0x108800013 || 0xFFCFFFF || 0x1 || 0xFF2D2D2D, 0xFFE6E6E6, 0xFF464646, 0xFF464646
|-
| 7 || 0x108CA0000 || 0x2008FCC3 || 0x11 || 0xFF322891, 0xFFFFFFFF, 0x00000000, 0x00000000
|-
| 8 || 0x108CA0800 || 0x4F0C3 || 0x21 || 0xFF322891, 0xFFFFFFFF, 0x00000000, 0x00000000
|-
| 9 || 0x108CA0000 || 0x2008FCC3 || 0x11 || 0xFFD9D7D7, 0xFFFFFFFF, 0x00000000, 0x00000000
|-
| 10 || 0x108CA0000 || 0x4FCC3 || 0x21 || 0xFFD9D7D7, 0xFFFFFFFF, 0x00000000, 0x00000000
|-
| 11 || 0x700CC0000 || 0xFFCF || 0x0 || 0xFF2D2D2D, 0xFFE6E6E6, 0xFF464646, 0xFF464646
|-
| 12 || 0x841011 || 0x10000010 || 0x1 || 0xFF2D2D2D, 0xFFE6E6E6, 0xFF464646, 0xFF464646
|-
| 13 || 0x83 || 0xFF0F6CF || 0x1 || 0xFF2D2D2D, 0xFFE6E6E6, 0xFF464646, 0xFF464646
|-
| 14 || 0x1 || 0xF8F950 || 0x10 || 0xFF828282, 0xFF0F0F0F, 0x00000000, 0x00000000
|-
| 15 || 0x3 || 0xFFCFFFF || 0x1 || 0xFF2D2D2D, 0xFFE6E6E6, 0xFF464646, 0xFF464646
|-
| 16 || 0x3 || 0xFFCFFFF || 0x1 || 0xFF2D2D2D, 0xFFE6E6E6, 0xFF464646, 0xFF464646
|-
| 17 || 0x1001A013 || 0xFFCFFFF || 0x8 || 0xFF2D2D2D, 0xFFE6E6E6, 0xFF464646, 0xFF464646
|-
| 18 || 0x2 || 0xF0406AF || 0x20 || 0xFF828282, 0xFF0F0F0F, 0x00000000, 0x00000000
|-
| 19 || 0x1088DA073 || 0xFFCF3FF || 0x1 || 0xFF2D2D2D, 0xFFE6E6E6, 0xFF464646, 0xFF464646
|-
| 20 || 0x108CA0025 || 0x6F8F150 || 0x12 || 0xFF828282, 0xFF0F0F0F, 0x00000000, 0x00000000
|-
| 21 || 0x108CA604A || 0x18F0402AF || 0x24 || 0xFF828282, 0xFF0F0F0F, 0x00000000, 0x00000000
|-
| [12.0.0+] 22 || 0xF00CC8101 || 0x1E1FCF6C3 || 0x1 || 0xFF2D2D2D, 0xFFE6E6E6, 0xFF464646, 0xFF464646
|-
| [12.0.0+] 23 || 0x100000000 || 0x0 || 0x0 || 0x00000000, 0x00000000, 0x00000000, 0x00000000
|-
| [13.0.0+] 28 || 0x700CC0000 || 0xCF6CF || 0x1 || 0xFF2D2D2D, 0xFFE6E6E6, 0xFF464646, 0xFF464646
|-
| [14.0.0+] 30 || 0x108800003 || 0xFFCFFFF || 0x1 || 0xFF2D2D2D, 0xFFE6E6E6, 0xFF464646, 0xFF464646
|}
|}


Line 9,104: Line 9,268:
|-
|-
| 0x8 || 0x8 || [[#FeatureType|FeatureType]]
| 0x8 || 0x8 || [[#FeatureType|FeatureType]]
|}
= UnmaskFeatureDescriptorList =
This is "nn::hid::server::UnmaskFeatureDescriptorList". This is a list of [[#UnmaskFeatureDescriptorType|UnmaskFeatureDescriptorType]] objects maintained by the hid-sysmodule.
{| class="wikitable" border="1"
|-
! [[#DeviceTypeInternal|DeviceType]] || [[#InterfaceType|InterfaceType]] || [[#FeatureType|FeatureType]]
|-
| 3 || 3 || 0x2000
|-
| 2 || 2 || 0x200
|-
| 1 || 2 || 0x400
|-
| 19 || 3 || 0x2000
|-
| 2 || 3 || 0x200
|-
| 1 || 3 || 0x6400
|}
|}


Line 9,877: Line 10,061:
* [6.1.0+] '''PalmaFw.bin'''
* [6.1.0+] '''PalmaFw.bin'''
** Poké Ball Plus BT firmware.
** Poké Ball Plus BT firmware.
* [9.0.0+] '''ExpectVersionInfo-platform.hoag.csv'''
* [8.1.1+] '''ExpectVersionInfo-platform.hoag.csv'''
** Same as "ExpectVersionInfo.csv" but for the Switch Lite platform.
** Same as "ExpectVersionInfo.csv" but for the Switch Lite platform.
* [9.0.0+] '''FirmwareInfo-platform.hoag.csv'''
* [8.1.1+] '''FirmwareInfo-platform.hoag.csv'''
** Same as "FirmwareInfo.csv" but for the Switch Lite platform.
** Same as "FirmwareInfo.csv" but for the Switch Lite platform.
* [9.0.0+] '''sioh.bin'''
* [8.1.1+] '''sioh.bin'''
** Switch Lite Joy-Con firmware.  
** Switch Lite Joy-Con firmware.  
* [9.0.0+] '''sioh_iap.bin'''
* [8.1.1+] '''sioh_iap.bin'''
** Switch Lite Joy-Con (IAP profile) firmware.
** Switch Lite Joy-Con (IAP profile) firmware.
* [10.0.0+] '''FTS_00120100.fts256'''
* [10.0.0+] '''FTS_00120100.fts256'''
Line 9,912: Line 10,096:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! System Version
! SystemVersion
! Firmware Version
! FirmwareVersion
|-
|-
| [1.0.0]
| [1.0.0+]
| 0348
| 0348
|-
|-
| [5.0.0-5.1.0]
| [5.0.0+]
| 0389
| 0389
|-
|-
| [6.0.0-6.2.0]
| [6.0.0+]
| 038B
| 038B
|-
|-
| [7.0.0-7.0.1]
| [7.0.0+]
| 03A6
| 03A6
|-
|-
| [8.0.0-8.1.1]
| [8.0.0+]
| 03B5
| 03B5
|-
|-
| [9.0.0-9.2.0]
| [9.0.0+]
| 0400
| 0400
|-
|-
| [10.0.0-10.2.0]
| [10.0.0+]
| 0406
| 0406
|-
|-
| [11.0.0-12.0.3]
| [11.0.0+]
| 0407
| 0407
|-
|-
| [12.1.0]
| [12.1.0+]
| 0410
| 0410
|-
|-
| [13.0.0-13.2.1]
| [13.0.0+]
| 0417
| 0417
|-
|-
Line 9,952: Line 10,136:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! System Version
! SystemVersion
! Firmware Version
! FirmwareVersion
|-
|-
| [1.0.0-14.1.2]
| [1.0.0+]
| 0348
| 0348
|-
|-
Line 9,965: Line 10,149:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! System Version
! SystemVersion
! Firmware Version
! FirmwareVersion
|-
| [1.0.0+]
| 030B
|-
|-
| [1.0.0]
| [4.0.0+]
| 030A
| 0412
|-
|-
| [5.0.0-5.1.0]
| [5.0.0+]
| 0518
| 0518
|-
|-
| [6.0.0-7.0.1]
| [6.0.0+]
| 061A
| 061A
|-
|-
Line 9,984: Line 10,171:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! System Version
! SystemVersion
! Firmware Version
! FirmwareVersion
|-
|-
| [1.0.0+]
| [1.0.0+]
Line 9,994: Line 10,181:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! System Version
! SystemVersion
! Firmware Version
! FirmwareVersion
|-
| -
| 010A0200
|-
|-
| [6.0.0+]
| [6.0.0+]
Line 10,004: Line 10,194:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! System Version
! SystemVersion
! Firmware Version
! FirmwareVersion
|-
| -
| 1100
|-
|-
| [6.1.0+]
| [6.1.0+]
Line 10,014: Line 10,207:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! System Version
! SystemVersion
! Firmware Version
! FirmwareVersion
|-
| -
| 000D
|-
|-
| [8.1.1-9.2.0]
| [8.1.1+]
| 0200
| 0200
|-
|-
| [10.0.0-10.2.0]
| [10.0.0+]
| 0301
| 0301
|-
|-