suyu/src/core/hle
Morph b92bf51ae1 hid: Implement GetVibrationDeviceInfo
The first u32 describes the vibration device type which is a Linear Resonant Actuator used in Nintendo Switch controller hardware.

The second u32 describes the vibration device position, in this case distinguishing between left and right vibration actuators.

Pro Controllers have 2 LRAs each that can vibrate independently of each other, which means they have 2 distinct vibration device handles to distinguish between the two actuators.

Similarly for joycons, the left joycon can be distinguished from the right joycon through the vibration device handle since each joycon has 1 LRA.
2020-11-15 23:33:20 -05:00
..
kernel ipc_helpers: Remove usage of the global system instance 2020-11-08 15:58:11 -05:00
service hid: Implement GetVibrationDeviceInfo 2020-11-15 23:33:20 -05:00
ipc.h common_func: Use std::array for INSERT_PADDING_* macros. 2019-11-03 22:22:41 -05:00
ipc_helpers.h ipc_helpers: Remove usage of the global system instance 2020-11-08 15:58:11 -05:00
lock.cpp Fix build on macOS and linux 2018-01-13 22:38:52 +00:00
lock.h Use recursive_mutex instead of mutex to fix #2902 2017-08-29 20:39:55 +12:00
result.h core: Resolve several -Wextra-semi warnings 2020-08-14 09:09:20 -04:00