HID services: Difference between revisions
Line 122: | Line 122: | ||
| 132 || EnableUnintendedHomeButtonInputProtection | | 132 || EnableUnintendedHomeButtonInputProtection | ||
|- | |- | ||
| 200 || GetVibrationDeviceInfo | | 200 || [[#GetVibrationDeviceInfo]] | ||
|- | |- | ||
| 201 || [[#SendVibrationValue]] | | 201 || [[#SendVibrationValue]] | ||
Line 170: | Line 170: | ||
== GetNpadHandheldActivationMode == | == GetNpadHandheldActivationMode == | ||
Takes a PID and an u64 [[AM_services|AppletResourceUserId]]. Returns an output u64. Official user-processes panic if the output u64 is not 0-2. | Takes a PID and an u64 [[AM_services|AppletResourceUserId]]. Returns an output u64. Official user-processes panic if the output u64 is not 0-2. | ||
== GetVibrationDeviceInfo == | |||
Takes an u32 VibrationDeviceHandle. Returns an output [[#VibrationDeviceInfo]]. | |||
== SendVibrationValue == | == SendVibrationValue == | ||
Line 176: | Line 179: | ||
== GetActualVibrationValue == | == GetActualVibrationValue == | ||
Takes a PID-descriptor, an u32 VibrationDeviceHandle, and an u64 [[AM_services|AppletResourceUserId]]. Returns the 0x10-byte VibrationValue. | Takes a PID-descriptor, an u32 VibrationDeviceHandle, and an u64 [[AM_services|AppletResourceUserId]]. Returns the 0x10-byte VibrationValue. | ||
== VibrationDeviceInfo == | |||
This is a 0x8-byte struct. | |||
== IAppletResource == | == IAppletResource == |