HID Services: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:
|-
|-
!  Command Header
!  Command Header
!  Only available with hid:SPVR
!  Description
!  Description
|-
|-
| 0x0001....
| 0x0001....
| Yes
| ?
| ?
|-
|-
| 0x0002....
| 0x0002....
| Yes
| ?
| ?
|-
|-
| 0x0003....
| 0x0003....
| Yes
| ?
| ?
|-
|-
| 0x0004....
| 0x0004....
| Yes
| ?
| ?
|-
|-
| 0x0005....
| 0x0005....
| Yes
| ?
| ?
|-
|-
| 0x0006....
| 0x0006....
| Yes
| ?
| ?
|-
|-
| 0x0007....
| 0x0007....
| Yes
| ?
| ?
|-
|-
| 0x0008....
| 0x0008....
| Yes
| ?
| ?
|-
|-
| 0x0009....
| 0x0009....
| Yes
| ?
| ?
|-
|-
| 0x000A0000
| 0x000A0000
| No
| [[HID:GetIPCHandles|GetIPCHandles]]
| [[HID:GetIPCHandles|GetIPCHandles]]
|-
|-
| 0x000B0000
| 0x000B0000
| Yes
| [[HID:StartAnalogStickCalibration|StartAnalogStickCalibration]]
| [[HID:StartAnalogStickCalibration|StartAnalogStickCalibration]]
|-
|-
| 0x000C....
| 0x000C....
| Yes
| ?
| ?
|-
|-
| 0x000D....
| 0x000D....
| Yes
| ?
| ?
|-
|-
| 0x000E0000
| 0x000E0000
| Yes
| [[HID:GetAnalogStickCalibrateParam|GetAnalogStickCalibrateParam]]
| [[HID:GetAnalogStickCalibrateParam|GetAnalogStickCalibrateParam]]
|-
|-
| 0x000F....
| 0x000F....
| Yes
| ?
| ?
|-
|-
| 0x0010....
| 0x0010....
| Yes
| ?
| ?
|-
|-
| 0x00110000
| 0x00110000
| No
| [[HID:EnableAccelerometer|EnableAccelerometer]]
| [[HID:EnableAccelerometer|EnableAccelerometer]]
|-
|-
| 0x00120000
| 0x00120000
| No
| [[HID:DisableAccelerometer|DisableAccelerometer]]
| [[HID:DisableAccelerometer|DisableAccelerometer]]
|-
|-
| 0x00130000
| 0x00130000
| No
| [[HID:EnableGyroscopeLow|EnableGyroscopeLow]]
| [[HID:EnableGyroscopeLow|EnableGyroscopeLow]]
|-
|-
| 0x00140000
| 0x00140000
| No
| [[HID:DisableGyroscopeLow|DisableGyroscopeLow]]
| [[HID:DisableGyroscopeLow|DisableGyroscopeLow]]
|-
|-
| 0x00150000
| 0x00150000
| No
| [[HID:GetGyroscopeLowRawToDpsCoefficient|GetGyroscopeLowRawToDpsCoefficient]]
| [[HID:GetGyroscopeLowRawToDpsCoefficient|GetGyroscopeLowRawToDpsCoefficient]]
|-
|-
| 0x00160000
| 0x00160000
| No
| [[HID:GetGyroscopeLowCalibrateParam|GetGyroscopeLowCalibrateParam]]
| [[HID:GetGyroscopeLowCalibrateParam|GetGyroscopeLowCalibrateParam]]
|-
|-
| 0x00170000
| 0x00170000
| No
| [[HID:GetSoundVolume|GetSoundVolume]]
| [[HID:GetSoundVolume|GetSoundVolume]]
|}
|}


=HID service "hid:SPVR"=
=HID service "hid:SPVR"=
This is used by Home Menu and other system titles.
This is used by Home Menu and other system titles. The command-handler for this is the same as the other HID services, see above.


=HID service "hid:QTM"=
=HID service "hid:QTM"=
This was added with [[9.0.0-20]]. HID module only registers+handles this service when running on [[New 3DS]].
This was added with [[9.0.0-20]]. HID module only registers+handles this service when running on [[New 3DS]]. The command-handler for this is the same as the other HID services, see above. This cmd-handler thread only runs on core2-3, while the other cmd-handler threads run on core0.


=See Also=
=See Also=
[[HID_Shared_Memory|HID Shared Memory]]
[[HID_Shared_Memory|HID Shared Memory]]

Revision as of 21:44, 10 October 2014

HID service "hid:USER"

Command Header Only available with hid:SPVR Description
0x0001.... Yes ?
0x0002.... Yes ?
0x0003.... Yes ?
0x0004.... Yes ?
0x0005.... Yes ?
0x0006.... Yes ?
0x0007.... Yes ?
0x0008.... Yes ?
0x0009.... Yes ?
0x000A0000 No GetIPCHandles
0x000B0000 Yes StartAnalogStickCalibration
0x000C.... Yes ?
0x000D.... Yes ?
0x000E0000 Yes GetAnalogStickCalibrateParam
0x000F.... Yes ?
0x0010.... Yes ?
0x00110000 No EnableAccelerometer
0x00120000 No DisableAccelerometer
0x00130000 No EnableGyroscopeLow
0x00140000 No DisableGyroscopeLow
0x00150000 No GetGyroscopeLowRawToDpsCoefficient
0x00160000 No GetGyroscopeLowCalibrateParam
0x00170000 No GetSoundVolume

HID service "hid:SPVR"

This is used by Home Menu and other system titles. The command-handler for this is the same as the other HID services, see above.

HID service "hid:QTM"

This was added with 9.0.0-20. HID module only registers+handles this service when running on New 3DS. The command-handler for this is the same as the other HID services, see above. This cmd-handler thread only runs on core2-3, while the other cmd-handler threads run on core0.

See Also

HID Shared Memory