HID services: Difference between revisions

No edit summary
Line 157: Line 157:
|-
|-
| 211 || [7.0.0+] [[#IsVibrationDeviceMounted]]
| 211 || [7.0.0+] [[#IsVibrationDeviceMounted]]
|-
| 212 || [11.0.0+] SendVibrationValueInBool
|-
|-
| 300 || [3.0.0+] [[#ActivateConsoleSixAxisSensor]]
| 300 || [3.0.0+] [[#ActivateConsoleSixAxisSensor]]
Line 920: Line 922:
|-
|-
| 13 || [9.0.0+] GetTouchScreenConfiguration
| 13 || [9.0.0+] GetTouchScreenConfiguration
|-
| 14 || [11.0.0+] ProcessTouchScreenAutoTune
|-
|-
| 20 || [[#DeactivateMouse]]
| 20 || [[#DeactivateMouse]]
Line 1,080: Line 1,084:
|-
|-
| 246 || [9.0.0+] GetVidPid
| 246 || [9.0.0+] GetVidPid
|-
| 247 || [11.0.0+] GetAnalogStickCalibrationValue
|-
| 248 || [11.0.0+] GetUniquePadIdsFull
|-
| 249 || [11.0.0+] ConnectUniquePad
|-
|-
| 301 || [5.0.0-8.1.0] [[#GetAbstractedPadHandles]]
| 301 || [5.0.0-8.1.0] [[#GetAbstractedPadHandles]]
Line 1,120: Line 1,130:
|-
|-
| 403 || [10.0.0+] EnableShipmentModeAutoClear
| 403 || [10.0.0+] EnableShipmentModeAutoClear
|-
| 404 || [11.0.0+] SetRailEnabled
|-
|-
| 500 || [8.0.0+] SetFactoryInt
| 500 || [8.0.0+] SetFactoryInt
Line 1,454: Line 1,466:
|-
|-
| 524 || [10.0.0+] IsHandheldHidsEnabled
| 524 || [10.0.0+] IsHandheldHidsEnabled
|-
| 525 || [11.0.0+] IsJoyConAttachedOnAllRail
|-
|-
| 540 || AcquirePlayReportControllerUsageUpdateEvent
| 540 || AcquirePlayReportControllerUsageUpdateEvent
Line 1,609: Line 1,623:
| 1200 || [10.0.0+] [[#IsButtonConfigSupported]]
| 1200 || [10.0.0+] [[#IsButtonConfigSupported]]
|-
|-
| 1201 || [10.0.0+] [[#DeleteButtonConfig]]
| 1201 || [11.0.0+] IsButtonConfigEmbeddedSupported ([10.0.0-10.2.0] [[#DeleteButtonConfig]])
|-
| 1202 || [11.0.0+] [[#DeleteButtonConfig]] ([10.0.0-10.2.0] [[#SetButtonConfigEnabled]])
|-
| 1203 || [11.0.0+] DeleteButtonConfigEmbedded ([10.0.0-10.2.0] [[#IsButtonConfigEnabled]])
|-
| 1204 || [11.0.0+] [[#SetButtonConfigEnabled]] ([10.0.0-10.2.0] [[#SetButtonConfigEmbedded]])
|-
| 1205 || [11.0.0+] SetButtonConfigEmbeddedEnabled ([10.0.0-10.2.0] [[#SetButtonConfigFull]])
|-
|-
| 1202 || [10.0.0+] [[#SetButtonConfigEnabled]]
| 1206 || [11.0.0+] [[#IsButtonConfigEnabled]] ([10.0.0-10.2.0] [[#SetButtonConfigLeft]])
|-
|-
| 1203 || [10.0.0+] [[#IsButtonConfigEnabled]]
| 1207 || [11.0.0+] IsButtonConfigEmbeddedEnabled ([10.0.0-10.2.0] [[#SetButtonConfigRight]])
|-
|-
| 1204 || [10.0.0+] [[#SetButtonConfigEmbedded]]
| 1208 || [11.0.0+] [[#SetButtonConfigEmbedded]] ([10.0.0-10.2.0] [[#GetButtonConfigEmbedded]])
|-
|-
| 1205 || [10.0.0+] [[#SetButtonConfigFull]]
| 1209 || [11.0.0+] [[#SetButtonConfigFull]] ([10.0.0-10.2.0] [[#GetButtonConfigFull]])
|-
|-
| 1206 || [10.0.0+] [[#SetButtonConfigLeft]]
| 1210 || [10.0.0-10.2.0] [[#GetButtonConfigLeft]]
|-
|-
| 1207 || [10.0.0+] [[#SetButtonConfigRight]]
| 1211 || [11.0.0+] [[#SetButtonConfigRight]] ([10.0.0-10.2.0] [[#GetButtonConfigRight]])
|-
|-
| 1208 || [10.0.0+] [[#GetButtonConfigEmbedded]]
| 1212 || [11.0.0+] [[#GetButtonConfigEmbedded]]
|-
|-
| 1209 || [10.0.0+] [[#GetButtonConfigFull]]
| 1213 || [11.0.0+] [[#GetButtonConfigFull]]
|-
|-
| 1210 || [10.0.0+] [[#GetButtonConfigLeft]]
| 1214 || [11.0.0+] [[#GetButtonConfigLeft]]
|-
|-
| 1211 || [10.0.0+] [[#GetButtonConfigRight]]
| 1215 || [11.0.0+] [[#GetButtonConfigRight]]
|-
|-
| 1250 || [10.0.0+] [[#IsCustomButtonConfigSupported]]
| 1250 || [10.0.0+] [[#IsCustomButtonConfigSupported]]
Line 1,649: Line 1,671:
| 1258 || [10.0.0+] [[#IsButtonConfigStorageRightEmpty]]
| 1258 || [10.0.0+] [[#IsButtonConfigStorageRightEmpty]]
|-
|-
| 1259 || [10.0.0+] [[#GetButtonConfigStorageEmbedded]]
| 1259 || [11.0.0+] [[#GetButtonConfigStorageEmbeddedDeprecated]] ([10.0.0-10.2.0] GetButtonConfigStorageEmbedded)
|-
|-
| 1260 || [10.0.0+] [[#GetButtonConfigStorageFull]]
| 1260 || [11.0.0+] [[#GetButtonConfigStorageFullDeprecated]] ([10.0.0-10.2.0] GetButtonConfigStorageFull)
|-
|-
| 1261 || [10.0.0+] [[#GetButtonConfigStorageLeft]]
| 1261 || [11.0.0+] [[#GetButtonConfigStorageLeftDeprecated]] ([10.0.0-10.2.0] GetButtonConfigStorageLeft)
|-
|-
| 1262 || [10.0.0+] [[#GetButtonConfigStorageRight]]
| 1262 || [11.0.0+] [[#GetButtonConfigStorageRightDeprecated]] ([10.0.0-10.2.0] GetButtonConfigStorageRight)
|-
|-
| 1263 || [10.0.0+] [[#SetButtonConfigStorageEmbedded]]
| 1263 || [11.0.0+] [[#SetButtonConfigStorageEmbeddedDeprecated]] ([10.0.0-10.2.0] SetButtonConfigStorageEmbedded)
|-
|-
| 1264 || [10.0.0+] [[#SetButtonConfigStorageFull]]
| 1264 || [11.0.0+] [[#SetButtonConfigStorageFullDeprecated]] ([10.0.0-10.2.0] SetButtonConfigStorageFull)
|-
|-
| 1265 || [10.0.0+] [[#SetButtonConfigStorageLeft]]
| 1265 || [11.0.0+] [[#SetButtonConfigStorageLeftDeprecated]] ([10.0.0-10.2.0] SetButtonConfigStorageLeft)
|-
|-
| 1266 || [10.0.0+] [[#SetButtonConfigStorageRight]]
| 1266 || [11.0.0+] [[#SetButtonConfigStorageRightDeprecated]] ([10.0.0-10.2.0] SetButtonConfigStorageRight)
|-
|-
| 1267 || [10.0.0+] [[#DeleteButtonConfigStorageEmbedded]]
| 1267 || [10.0.0+] [[#DeleteButtonConfigStorageEmbedded]]
Line 1,698: Line 1,720:
|-
|-
| 1283 || [10.0.0+] [[#GetHidButtonConfigRight]]
| 1283 || [10.0.0+] [[#GetHidButtonConfigRight]]
|-
| 1284 || [11.0.0+] GetButtonConfigStorageEmbedded
|-
| 1285 || [11.0.0+] GetButtonConfigStorageFull
|-
| 1286 || [11.0.0+] GetButtonConfigStorageLeft
|-
| 1287 || [11.0.0+] GetButtonConfigStorageRight
|-
| 1288 || [11.0.0+] SetButtonConfigStorageEmbedded
|-
| 1289 || [11.0.0+] SetButtonConfigStorageFull
|-
| 1290 || [11.0.0+] SetButtonConfigStorageLeft
|-
| 1291 || [11.0.0+] SetButtonConfigStorageRight
|-
| 12010 || [11.0.0+] SetButtonConfigLeft
|}
|}


Line 1,878: Line 1,918:
Same as [[#IsButtonConfigStorageEmbeddedEmpty]] except with a different setsys cmd.
Same as [[#IsButtonConfigStorageEmbeddedEmpty]] except with a different setsys cmd.


== GetButtonConfigStorageEmbedded ==
== GetButtonConfigStorageEmbeddedDeprecated ==
Takes an input s32 entry-index, and a type-0x16 output buffer containing a [[#ButtonConfigEmbedded]].
Takes an input s32 entry-index, and a type-0x16 output buffer containing a [[#ButtonConfigEmbedded]].


Line 1,885: Line 1,925:
Uses [[Settings_services#GetButtonConfigSettingsEmbedded|GetButtonConfigSettingsEmbedded]] with count=5 (output s32 ignored). The input entry-index is used with this array. Then an error is thrown if [[Settings_services#ButtonConfigSettings|IsFull]] bit0 is clear. Then the data at +0x1C8 is converted to [[#ButtonConfigEmbedded]], copied to output, and returns 0.
Uses [[Settings_services#GetButtonConfigSettingsEmbedded|GetButtonConfigSettingsEmbedded]] with count=5 (output s32 ignored). The input entry-index is used with this array. Then an error is thrown if [[Settings_services#ButtonConfigSettings|IsFull]] bit0 is clear. Then the data at +0x1C8 is converted to [[#ButtonConfigEmbedded]], copied to output, and returns 0.


== GetButtonConfigStorageFull ==
== GetButtonConfigStorageFullDeprecated ==
Takes an input s32 entry-index, and a type-0x16 output buffer containing a [[#ButtonConfigFull]].
Takes an input s32 entry-index, and a type-0x16 output buffer containing a [[#ButtonConfigFull]].


Same as [[#GetButtonConfigStorageEmbedded]], except this uses a different setsys cmd, and uses a different conversion func / different output struct.
Same as [[#GetButtonConfigStorageEmbeddedDeprecated]], except this uses a different setsys cmd, and uses a different conversion func / different output struct.


== GetButtonConfigStorageLeft ==
== GetButtonConfigStorageLeftDeprecated ==
Takes an input s32 entry-index, and a type-0x16 output buffer containing a [[#ButtonConfigLeft]].
Takes an input s32 entry-index, and a type-0x16 output buffer containing a [[#ButtonConfigLeft]].


Same as [[#GetButtonConfigStorageEmbedded]], except this uses a different setsys cmd, and uses a different conversion func / different output struct.
Same as [[#GetButtonConfigStorageEmbeddedDeprecated]], except this uses a different setsys cmd, and uses a different conversion func / different output struct.


== GetButtonConfigStorageRight ==
== GetButtonConfigStorageRightDeprecated ==
Takes an input s32 entry-index, and a type-0x16 output buffer containing a [[#ButtonConfigRight]].
Takes an input s32 entry-index, and a type-0x16 output buffer containing a [[#ButtonConfigRight]].


Same as [[#GetButtonConfigStorageEmbedded]], except this uses a different setsys cmd, and uses a different conversion func / different output struct.
Same as [[#GetButtonConfigStorageEmbeddedDeprecated]], except this uses a different setsys cmd, and uses a different conversion func / different output struct.


== SetButtonConfigStorageEmbedded ==
== SetButtonConfigStorageEmbeddedDeprecated ==
Takes an input s32 entry-index, and a type-0x15 input buffer containing a [[#ButtonConfigEmbedded]].
Takes an input s32 entry-index, and a type-0x15 input buffer containing a [[#ButtonConfigEmbedded]].


Line 1,910: Line 1,950:
Afterwards, this uses [[Settings_services#GetButtonConfigSettingsEmbedded|GetButtonConfigSettingsEmbedded]] with count=5 (output s32 ignored). The input entry-index is used with this array. The input struct is converted, the output from that is copied to +0x1C8 size 0x3E0, IsFull is set, [[Settings_services#SetButtonConfigSettingsEmbedded|SetButtonConfigSettingsEmbedded]] is used with the updated array, and then returns 0.
Afterwards, this uses [[Settings_services#GetButtonConfigSettingsEmbedded|GetButtonConfigSettingsEmbedded]] with count=5 (output s32 ignored). The input entry-index is used with this array. The input struct is converted, the output from that is copied to +0x1C8 size 0x3E0, IsFull is set, [[Settings_services#SetButtonConfigSettingsEmbedded|SetButtonConfigSettingsEmbedded]] is used with the updated array, and then returns 0.


== SetButtonConfigStorageFull ==
== SetButtonConfigStorageFullDeprecated ==
Takes an input s32 entry-index, and a type-0x15 input buffer containing a [[#ButtonConfigFull]].
Takes an input s32 entry-index, and a type-0x15 input buffer containing a [[#ButtonConfigFull]].


Same as [[#SetButtonConfigStorageEmbedded]], except this uses different setsys cmds, and uses a different structs etc.
Same as [[#SetButtonConfigStorageEmbeddedDeprecated]], except this uses different setsys cmds, and uses a different structs etc.


== SetButtonConfigStorageLeft ==
== SetButtonConfigStorageLeftDeprecated ==
Takes an input s32 entry-index, and a type-0x15 input buffer containing a [[#ButtonConfigLeft]].
Takes an input s32 entry-index, and a type-0x15 input buffer containing a [[#ButtonConfigLeft]].


Same as [[#SetButtonConfigStorageEmbedded]], except this uses different setsys cmds, and uses a different structs etc.
Same as [[#SetButtonConfigStorageEmbeddedDeprecated]], except this uses different setsys cmds, and uses a different structs etc.


== SetButtonConfigStorageRight ==
== SetButtonConfigStorageRightDeprecated ==
Takes an input s32 entry-index, and a type-0x15 input buffer containing a [[#ButtonConfigRight]].
Takes an input s32 entry-index, and a type-0x15 input buffer containing a [[#ButtonConfigRight]].


Same as [[#SetButtonConfigStorageEmbedded]], except this uses different setsys cmds, and uses a different structs etc.
Same as [[#SetButtonConfigStorageEmbeddedDeprecated]], except this uses different setsys cmds, and uses a different structs etc.


== DeleteButtonConfigStorageEmbedded ==
== DeleteButtonConfigStorageEmbedded ==