HID services: Difference between revisions

No edit summary
Line 417: Line 417:


The NpadInterfaceType must be 1-4, otherwise this will assert.
The NpadInterfaceType must be 1-4, otherwise this will assert.
== VibrationDeviceHandle ==
This is an u32.
== VibrationDeviceInfo ==
This is a 0x8-byte struct.
== VibrationValue ==
This is a 0x10-byte struct, which contains 4 float values.


== IAppletResource ==
== IAppletResource ==
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 451: Line 441:
=== ActivateVibrationDevice ===
=== ActivateVibrationDevice ===
Takes an input [[#VibrationDeviceHandle]]. No output.
Takes an input [[#VibrationDeviceHandle]]. No output.
== GyroscopeZeroDriftMode ==
This is "nn::hid::GyroscopeZeroDriftMode".
{| class="wikitable" border="1"
!  Value
!  Description
|-
| 0 || Loose
|-
| 1 || Standard
|-
| 2 || Tight
|}
== VibrationDeviceHandle ==
This is an u32.
== VibrationDeviceInfo ==
This is a 0x8-byte struct.
== VibrationValue ==
This is a 0x10-byte struct, which contains 4 float values.


== NpadStyleTag ==
== NpadStyleTag ==